[Master Answer Logo]
Question

How do I program in Javascript?

Answer

Numbers in JavaScript are represented in binary as IEEE-754 Doubles, which provides an accuracy to about 14 or 15 significant digits JavaScript FAQ 4.7. Because they are binary numbers, they do not always exactly represent decimal numbers, particularly fractions.

— Source: Wikipedia (www.wikipedia.org)