When estimating values ??each determined similarly, and in which get to them by algebraic operations in some cases, are rounded with 0 decimal places and in other cases with 2 or 3 decimal places. What is happening? Thank you. -- View this message in context: http://r.789695.n4.nabble.com/Number-of-decimal-places-tp4647549.html Sent from the R help mailing list archive at Nabble.com.
For example> a=12344.567 > a[1] 12344.57> b=234.567 > b[1] 234.567> a=111111111111234235423.56 > a[1] 1.111111e+20> b=11111111111.898 > b[1] 11111111112>-- View this message in context: http://r.789695.n4.nabble.com/Number-of-decimal-places-tp4647549p4647552.html Sent from the R help mailing list archive at Nabble.com.
Putting back the context: ( We are not looking at this with Nabble.)> When estimating values ??each determined similarly, and in which get to them > by algebraic operations in some cases, are rounded with 0 decimal places and > in other cases with 2 or 3 decimal places. What is happening? > Thank you.On Oct 26, 2012, at 7:13 AM, DMMS wrote:> For example > >> a=12344.567 >> a > [1] 12344.57 >> b=234.567 >> b > [1] 234.567 >> a=111111111111234235423.56 >> a > [1] 1.111111e+20 >> b=11111111111.898 >> b > [1] 11111111112 >> >?options Pay attention to digits and scipen arguments Also look at: ?format> > --David Winsemius, MD Alameda, CA, USA