Description Usage Arguments Value Examples
Format number to be a string beginning with a decimal point.
1 2 3 4 5 6 7 8 9 |
num |
number to convert to string |
precision |
decimal places to preserve |
isProportion |
whether to strip leading 0 for 0.x values |
truncateZeros |
whether to strip trailing 0s |
prefix |
prefix for the number string (e.g. " = ") |
minPrefix |
for transforming numbers like .000 into < .001 |
... |
discarded arguments used to allow overflowed calls from other functions |
num
stripped of leading 0s and rounded to precision
decimal places
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.