NumToStringExtensions extension
Num conversion to string extensions
- on
Properties
- toBinaryString → String
-
Available on num, provided by the NumToStringExtensions extension
Converts the number to a binary (base-2) string representation.no setter - toHexString → String
-
Available on num, provided by the NumToStringExtensions extension
Converts the number to a hexadecimal (base-16) string representation.no setter
Methods
-
toCurrency(
{String symbol = '\$'}) → String -
Available on num, provided by the NumToStringExtensions extension
Converts the number to a currency string format with an optional symbol prefix.