Your Account

Community

Topics (Upcoming)

More

Stories tagged with: Number

1
0
Fastest numeric datatype?
http://lab.polygonal.de/2007/06/06/int-uint-and-number-data-...
Submitted by arpit 30 months, 2 days, 3 hours ago
There has been some debate on the efficiency of the new number types in AS3: int, uint and Number. So whats the most efficient? Answer: They are all almost the same. Performance difference only occurs when you convert the datatype (via casting) in code. Join discussion...
1
0
Cannot use var n:Number == null to test if the number exists or not
http://labs.bigspaceship.com/blog/?p=40
Submitted by arpit 30 months, 3 days ago
The Number datatype's initial value is NaN. You cannot use n==null to test if that value has been set or not (it'll always return false). Instead use isNaN(n) Join discussion...

Home | Tools | Help & FAQ | About flextips | Contact us

© flextips 2007

Powered by coRank.com