[R] Rounding

David Arnold dwarnold45 at suddenlink.net
Sat Jan 5 19:42:58 CET 2013


Hi,

Can someone explain this:

> options(digits=20)
> 1/3
[1] 0.33333333333333331483

Why the 1483 at the end?

Thanks,

David.

david-arnolds-macbook-pro-2:~ darnold$ R --version
R version 2.15.2 (2012-10-26) -- "Trick or Treat"
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)




--
View this message in context: http://r.789695.n4.nabble.com/Rounding-tp4654738.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list