An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100104/c444391d/attachment.pl>
problem with number formation
2 messages · venkata kirankumar, Berend Hasselman
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.