[R] round up/down to nearest hundredth

chuck.01 CharlieTheBrown77 at gmail.com
Sat May 12 22:38:16 CEST 2012


Hi, 
How can I round up and down to the nearest hundredth

example:

x <- 0.18
how do I round down to 0.15?
how do I round down to 0.20?



--
View this message in context: http://r.789695.n4.nabble.com/round-up-down-to-nearest-hundredth-tp4629451.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list