× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Fri, Jul 25, 2014 at 2:48 PM, Steve Stevens <s_stevens@xxxxxxxxxx> wrote:
Also be careful using eval(h). A couple years ago we discovered that IBM
and Microsoft round numbers differently when the last value being dropped
was five.

Well, it's not so much IBM and Microsoft as it is IEEE and Excel.
Almost everything in the world that uses floating point adheres to the
IEEE 754 standard. Excel doesn't quite. Close, but not exactly. In
terms of storage, it truly is exactly like IEEE. But in certain
operations, Excel fudges some things so that arithmetic is more like
what normal people would expect. That's because Excel was meant to be
used by normal people, not programmers.

I would be very surprised if all the Microsoft products round the way
Excel does. In particular, it would be difficult to fathom their
"serious" programming languages like C# not following IEEE.

John Y.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.