JavaScript Data Types
Added 4 Mar 2009
In JavaScript, every number data type is treated as a
floating-point number. A floating-point number is a number
that includes a decimal place. For example, the fraction
one-half wouldn't be written as .5, but as 0.5. Multiply
that 0.5 by 6.1234 (or any number, really), and the decimal
(the "point") will have "floated" to a new position within
the new number. Hence the term "Floating Point". Because of
this floating-point capability, JavaScript is great to use
with numbers. Combine this with its loosely typed nature and
you get a very easy to use and flexible yet powerful
programming language.