ou're manipulating.
- Gordon
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Chris
Sent: Wednesday, November 25, 2009 5:17 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: When does 0.2 and 0.1 not equal 0.3?
This is a pretty well known lim
This is a pretty well known limitation of floating point numbers.
A workaround:
http://joshblog.net/2007/01/30/flash-floating-point-number-errors/
Another option around this is to use the toPrecision() function of
Number/Int to convert a number to a String and then compare the Strings.
var num1
2 matches
Mail list logo