jump to navigation

Númeric precision in javascript September 26, 2006

Posted by maxmil in : javascript , trackback

Due the the limited number of bytes that javascript uses to store numbers certain decimals are not stored exactly.

For example try this:


Thus for númeric precision rounding should always be aplied to and mathematical operation.


no comments yet - be the first?