It's been along time since I took any math courses and I never made it
into advanced math courses so can someone please explain to me how 3 *
12.95 could possibly equal 38.84999999999994?  

It doesn't seem to add up to me

-----Original Message-----
From: Ray Champagne [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 08, 2005 1:35 PM
To: CF-Community
Subject: stupid Javascript question

I am trimming this question down to the nitty gritty for simplicity's
sake:

Why does this javascript:

var price = 3 * 12.95;

give me this result:

38.849999999999994

?

God I hate javascript.

Ray


-- 
=================================================================
Ray Champagne - Senior Application Developer
CrystalVision Web Site Design and Internet Services
603.433.9559
www.crystalvision.org
=================================================================

The information contained in this transmission (including any
attached files) is CONFIDENTIAL and is intended only for the
person(s) named above. If you received this transmission in
error, please delete it from your system and notify us
immediately. If you are not an intended recipient, please note
that any use or dissemination of the information contained in this
transmission (including any attached files) and the copying,
printing, or retransmission of that information is strictly
prohibited. You can notify us by return email or by phone at
603.433.9559.

Thank you.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:5:160082
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to