[R] number precision

pieterprovoost at gmail.com pieterprovoost at gmail.com
Sat Aug 18 22:56:25 CEST 2007


I'm trying to find a way to determine how many digits a number has. I tried using nchar(paste(number)), but unfortunately paste will reduce 8.00 to "8".

Any thoughts?

This message was sent on behalf of pieterprovoost at gmail.com at openSubscriber.com

More information about the R-help mailing list