
his seems like a very simple topic, and it should be...for anyone who has programmed in language like C or C++; In those languages, numbers have never been handled with a primitive data type named
Number. There have always been several types to use for storing number such as
int,
long int ,
float etc. However, in Flash AS1, all variables were treated as "variants". You could store text, numbers, fractions, etc in any variable It was up to the Flash compiler to figure out what you meant any calcuation and do it's best comply. This led to bizarre situations where, for instance, numbers would be concatenated instead of added together, which then led to confusion and unecessary debugging sessions.