[R] decimal troubles ?

Dieter Menne dieter.menne at menne-biomed.de
Tue May 12 10:37:52 CEST 2009




Dieter Menne wrote:
> 
> 
> It says digits, not decimals:
> 
>> (44.25+31.1+50)/100
> [1] 1.25
> 
> Dieter 
> 
> 

> (44.25+31.1+50)*10
[1] 1254

Strictly speaking, this should print as 1250 (no flames, please, I can live
with it)

Dieter


-- 
View this message in context: http://www.nabble.com/decimal-troubles---tp23498062p23498439.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list