From murdoch at stats.uwo.ca  Mon Jul 16 12:36:34 2007
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Mon, 16 Jul 2007 06:36:34 -0400
Subject: [Rd] error in trunc function (PR#9782)
In-Reply-To: <20070706130459.35278486CF@slim.kubism.ku.dk>
References: <20070706130459.35278486CF@slim.kubism.ku.dk>
Message-ID: <469B4A32.3050108@stats.uwo.ca>

focus17 at libero.it wrote:
> Full_Name: Claudio
> Version: 2.5.1
> OS: windows
> Submission from: (NULL) (157.138.120.198)
>
>
> the command get a wrong result
>
>   
>> trunc(2.3*100)
>>     
> 229
That is the correct answer.  2.3 is not representable exactly; the 
actual value used is slightly less.

Duncan Murdoch



[Rd] error in trunc function (PR#9782)
Duncan Murdoch