Floating Point Error | Mathematics | Computing 

Standard Form

This is the first version of the standard form page, which I kept because it nicely demonstrates the perils of using floating point numbers in computer programs. This is not a JavaScript-specific issue - a program written in another language, such as Python, can do the same. To see the calculation go wrong, type 0.3 into the box and click the right-arrow button. For the working version of this page, click here.

x 10