MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Puzzled by IntegerPart


100*1.15

115.

% // InputForm

114.99999999999999

Increase input precision

IntegerPart[100*1.15`20]

115

IntegerPart[Rationalize[100*1.15]]

115


Bob Hanlon

---- Themis Matsoukas <tmatsoukas at me.com> wrote: 

=============
IntegerPart[100*1.15]

114

???

Themis




  • Prev by Date: Re: Puzzled by IntegerPart
  • Next by Date: Re: Puzzled by IntegerPart
  • Previous by thread: Re: Puzzled by IntegerPart
  • Next by thread: Re: Puzzled by IntegerPart