Glossary: Software Design Patterns in JavaScript
toFixed
A number method that shows a number with a set number of decimals as text, so 467.5.toFixed(2) is "467.50".
Glossary: Software Design Patterns in JavaScript
A number method that shows a number with a set number of decimals as text, so 467.5.toFixed(2) is "467.50".