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

Peter Dalgaard P.Dalgaard at biostat.ku.dk
Mon Jul 16 13:34:24 CEST 2007


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
>
> __
Not a bug, read FAQ 7.31 and the reference therein.

-- 
   O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)                  FAX: (+45) 35327907



More information about the R-devel mailing list