Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2013

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

Search the Archive

Re: Precision

  • To: mathgroup at
  • Subject: [mg129353] Re: Precision
  • From: Richard Fateman <fateman at>
  • Date: Mon, 7 Jan 2013 00:38:34 -0500 (EST)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • References: <kc8k2f$b17$>

On 1/4/2013 11:17 PM, Rob Ryan wrote:
> My frustration is growing. I simply want to add (for example):
> 103971.66+52282.64+2998.27.

InputForm[103971.66+52282.64+2998.27]  gives  159252.56999999998

If you don't like that, use the calculator on your phone (or watch?  do 
people still have watches? Such big ones?)

If this all seems mysterious, read up on floating-point binary numbers .

  • Prev by Date: "Directional" light and ImageScaled coordinates (a bug?)
  • Next by Date: Re: Precision
  • Previous by thread: Re: Precision
  • Next by thread: Re: Precision