Skip to content
Back to formatted view

Raw Message

Message-ID: <4A092E6A.6050802@univ-fcomte.fr>
Date: 2009-05-12T08:08:10Z
From: Patrick Giraudoux
Subject: decimal troubles ?

Dear all,

I have some trouble with the number of decimals in R (currently R 
2.9.0). For instance:

 > options()$digits
[1] 3

let me hope that I will get three digits where useful when a number is 
printed. BUT:

 > 44.25+31.1+50
[1] 125

No way to get the right result 125.35

Can anybody tell me what's happens ?

Patrick