Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: gives 919.8359999999999?`
Replies: 5   Last Post: Dec 10, 2013 4:00 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Sseziwa Mukasa

Posts: 108
Registered: 8/26/07
Re: gives 919.8359999999999?`
Posted: Dec 6, 2013 2:11 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Because by default non-integer values are stored as machine precision values and the values displayed are typically displayed up to 5 decimal places but FullForm displays a more accurate representation of the actual machine precision value.

On Dec 5, 2013, at 3:05 AM, Guillermo Sanchez <guillermo.sanchez@hotmail.com> wrote:

> FullForm[916.536 + 3.3] gives 919.8359999999999 instead of 919.836?
> Guillermo

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.