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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to