happypdf / numberToString
Function: numberToString()
ts
function numberToString(num): string;Defined in: src/utils/numbers.ts:9
Converts a number to its string representation in decimal. This function differs from simply converting a number to a string with .toString() because this function's output string will not contain exponential notation.
Credit: https://stackoverflow.com/a/46545519
Parameters
| Parameter | Type |
|---|---|
num | number |
Returns
string