MathGroup Archive 2010

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

Search the Archive

Re: Puzzled by IntegerPart

  • To: mathgroup at smc.vnet.net
  • Subject: [mg114622] Re: Puzzled by IntegerPart
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Fri, 10 Dec 2010 02:32:11 -0500 (EST)

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