From jeff.a.ryan at gmail.com  Wed Jan 30 19:06:24 2008
From: jeff.a.ryan at gmail.com (Jeff Ryan)
Date: Wed, 30 Jan 2008 12:06:24 -0600
Subject: [Rd] numbers after dot missing (PR#10663)
In-Reply-To: <20080130074504.388642834629@mail.pubhealth.ku.dk>
References: <20080130074504.388642834629@mail.pubhealth.ku.dk>
Message-ID: <e8e755250801301006u52122b1by523124a20c350cac@mail.gmail.com>

YOU can fix the "problem" : )

Try:

> identical(76079320.32 + 21374.27 + 7630.04 + 28432.47,76136757.1)
[1] TRUE

> identical(76079320.32 + 21374.27 + 7630.04 + 28432.47,76136757)
[1] FALSE

> options(digits=10)
> 76079320.32 + 21374.27 + 7630.04 + 28432.47
[1] 76136757.1

> sessionInfo()
R version 2.7.0 Under development (unstable) (2007-12-25 r43783)
i386-apple-darwin8.11.1

locale:
C

attached base packages:
[1] graphics  grDevices utils     datasets  stats     methods   base

other attached packages:
[1] quantmod_0.3-2 Defaults_1.1-1 xts_0.0-6      zoo_1.4-1

loaded via a namespace (and not attached):
[1] grid_2.7.0     lattice_0.17-2 rpart_3.1-36
>


On Jan 30, 2008 1:45 AM,  <michael.krueckl at chello.at> wrote:
> Full_Name: Michael
> Version: 2.6.1
> OS: Windows XP
> Submission from: (NULL) (81.223.30.219)
>
>
> i recognized a problem with the numbers behind a dot, an example:
>
> 76079320.32+21374.27+7630.04+28432.47
> [1] 76136757 // should be 76,136,757.10
>
> > 32+27+4+47 // proof it should be xxx.1
> [1] 110
>
> that kind of problem happened more than 1 time
>
> hope u can fix it :)
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



-- 
There's a way to do it better - find it.
Thomas A. Edison



[Rd] numbers after dot missing (PR#10663)
Jeff Ryan