Bug 123933 - Multiplying a floating Number from an Array calculates incorrectly
Summary: Multiplying a floating Number from an Array calculates incorrectly
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh Intel OS X 10.8
: P3 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-06 15:16 PST by Robert
Modified: 2013-11-09 13:55 PST (History)
1 user (show)

See Also:


Attachments
Test Results (738 bytes, text/html)
2013-11-06 15:16 PST, Robert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2013-11-06 15:16:02 PST
Created attachment 216231 [details]
Test Results

<script>
var aaa = {numFloat:.55};
var bbb = 100 - (aaa.numFloat * 100); //Should be 45. Not 44.99999999999999
var ccc = aaa.numFloat * 100; // Should be 55,. Not 55.00000000000001
</script>