Number related methods
Methods
-
static convertToString(num, numDigits, baseopt) → {string}
-
Converts a number to a string, adding optionnal leading zeroes
Parameters:
Name Type Attributes Default Description num
Number The number numDigits
int The number of digits in the string. Adds leading zeroes base
int <optional>
10 The conversion base Returns:
string - The number as a string