[R] bug when subtracting decimals?
Dieter Menne
dieter.menne at menne-biomed.de
Mon Apr 20 19:01:46 CEST 2009
wolfgang.siewert <wolfgang.siewert <at> gmail.com> writes:
> There is a way around:
> round(0.7-0.3,1)==0.4
> (TRUE)
>
> Obviously there is a problem with some combinations of decimal subtractions,
> that - we have the feeling - shouldt be solved.
Oh no, not that one again! This was lecture two in my first computer
course in 1968, but it seems to be gone the way of the dodo since than.
Dietr
More information about the R-help
mailing list