There seems to be some confusion about number data types. Here is an explanation to how these BASIC types work.
int (Regular integer) +/- ranges -2,147,483,648 to 2,147,483,647. (32 bit)
uint (Unsigned integer) + ranges 0 to 4,294,967,295 (32bit)
Number (Double floating point) ranges +- -9,007,199,254,740,992 to 9,007,199,254,740,992 where the significance of the number can either be 15 digits behind 0 or 16 whole number digits. 0.000000000000001 as a decimal. (64 bit) (52 bit for decimal places) (1 bit for sign) (11 bits for exponents)
Where to use “int”: Use int in any number that is always a whole number.
Where to use “uint”: Use uint in situation where the number is greater than 2,147,483,647 and will not be negative.
Where to use “Number” anywhere where numbers require decimal places and anywhere where numbers exceed 10 digits.
Numbers (in quantities) will occupy more space than int and uint. However, a Number will store as int if it has no decimal. (Flash AS3)
Edit:
Say if you were creating 10,000 “Number” 's in a loop, every second, and given that you did not need to, the result would hinder the performance of the application.
Note:
4,228,250,625 = R x B x G x A = 255x255x255x255 = 255^4 (uint)
mechanicaltimi