Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / General / General / January 2007



Tip: Looking for answers? Try searching our database.

Calculator oddity

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mac user - 31 Jan 2007 01:45 GMT
I own an iMac G5 1.8Ghz running 10.3.9. I get a very strange result when
I add the following numbers in the calculator:
2353.82 + 3231.96 = 5585.780000000001

If any of the numerals in the problem change, the trailing "0000000001"
in the answer does not appear. It does not matter which number is
entered first. I've rebooted, repaired permissions and run Mac Janitor
(I do so on a regular basis anyway). I use the calculator on a fairly
regular basis and so far only this combination of numbers produces the
anomaly. If I enter the same thing in the Classic calculator, all is normal.

Does anyone have any idea what's going on?

Thanks for any advice.

Ern
Michelle Steiner - 31 Jan 2007 02:32 GMT
> Does anyone have any idea what's going on?

Yes, this is not unique to the Mac, nor to any specific programs.  It's
inherent in binary to decimal conversions.

Signature

Support the troops:  Bring them home ASAP.

TaliesinSoft - 31 Jan 2007 02:51 GMT
> I own an iMac G5 1.8Ghz running 10.3.9. I get a very strange result when I
> add the following numbers in the calculator: 2353.82 + 3231.96 =
> 5585.780000000001

I'm running 10.4.8 on a MacBook Pro and I don't get the trailing zeros and a
one, and this is with precision set to 16.

Signature

James Leo Ryan ..... Austin, Texas ..... taliesinsoft@mac.com

magdalena - 31 Jan 2007 03:42 GMT
> I own an iMac G5 1.8Ghz running 10.3.9. I get a very strange result when
> I add the following numbers in the calculator:
[quoted text clipped - 12 lines]
>
> Ern

In Tiger, I don't get the trailing zeros when I do that sum in
Calculator (with precision set to 11), but back in Panther, I got an
obviously incorrect sum in Apple's Calculator, and so I have used
KoalaCalc (http://www.macropodsoftware.com/koalacalc/index.html) ever
since.
Fred Moore - 31 Jan 2007 16:21 GMT
In article
<magdalenabung-7907D6.22423930012007@comcast.dca.giganews.com>,
> In Tiger, I don't get the trailing zeros when I do that sum in
> Calculator (with precision set to 11), but back in Panther, I got an
> obviously incorrect sum in Apple's Calculator, and so I have used
> KoalaCalc (http://www.macropodsoftware.com/koalacalc/index.html) ever
> since.

KoalaCalc is an excellent product and the price is right, too.

--Fred
Adrian - 31 Jan 2007 17:15 GMT
> KoalaCalc is an excellent product and the price is right, too.

Koalacalc has handy easily accessed converters built in - nice ...
almost as good as the old MacOS 7 shareware calculator called, err
various things but at a later stage it was Sliderule (though nothing
like a sliderule for those old enough to have used one!)

Signature

Adrian

Dave Seaman - 31 Jan 2007 17:19 GMT
>> I own an iMac G5 1.8Ghz running 10.3.9. I get a very strange result when
>> I add the following numbers in the calculator:
[quoted text clipped - 12 lines]
>>
>> Ern

> In Tiger, I don't get the trailing zeros when I do that sum in
> Calculator (with precision set to 11), but back in Panther, I got an
> obviously incorrect sum in Apple's Calculator, and so I have used
> KoalaCalc (http://www.macropodsoftware.com/koalacalc/index.html) ever
> since.

What do you mean by an "obviously incorrect sum"?  The one reported by
"Mac User" is correct to 15 significant digits, after all.

Signature

Dave Seaman
U.S. Court of Appeals to review three issues
concerning case of Mumia Abu-Jamal.
<http://www.mumia2000.org/>

magdalena - 31 Jan 2007 23:36 GMT
> >> I own an iMac G5 1.8Ghz running 10.3.9. I get a very strange result when
> >> I add the following numbers in the calculator:
[quoted text clipped - 22 lines]
> What do you mean by an "obviously incorrect sum"?  The one reported by
> "Mac User" is correct to 15 significant digits, after all.

I'm talking about a calculation I did years ago (a simple addition
calculation--it was too long ago to remember the exact numbers), not the
one the OP was talking about. I actually got more than one incorrect
calculation. To me that's two too many, which is why I switched to
KoalaCalc. The Tiger Calculator may very well be perfectly fine, but I'm
leery after my Panther Calculator experience.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.