Hi all, this is kiran I got one problem with formating a number that is if I have a number like ------->"2.33" that one ihave to convert to ------>"2.33000" and if I have a number like ------->"0.33" that one ihave to convert to ------>"0.33000" is this posible in R-project if its posible please help me to get it onemore thing if it converts to char also noproblem because i have to show it in user interface no caliculation are required. thanks in advance kiran [[alternative HTML version deleted]]
dvkirankumar wrote:> > Hi all, > this is kiran > I got one problem with formating a number > that is > > if I have a number like ------->"2.33" > that one ihave to convert to ------>"2.33000" >?sprintf Example: a <- 2.33 sprintf("%.5f", a) Berend -- View this message in context: http://n4.nabble.com/problem-with-number-formation-tp998291p998370.html Sent from the R help mailing list archive at Nabble.com.