HorusNumber extension
- on
Methods
-
abbreviate(
) → String - Returns the integer obtained by discarding any fractional digits
-
abs(
) → num - Returns the absolute value of this num.
-
currencyFormat(
[int nDecimalDigits = 2, String decimalSeparator = '.', String thousandsSeparator = ',', String currencySymbol = '\$']) → String -
enforcePrecision(
int nDecimalDigits) → num -
floor(
) → num - Returns the integer obtained by discarding any fractional digits from this num.
-
ordinal(
) → String -
round(
) → num - Returns the integer nearest to this num.
-
sign(
) → num - Returns the sign of this num.
-
truncate(
) → num - Returns the integer obtained by discarding any fractional digits from this num.