NumToStringExtensions extension

Num conversion to string extensions

on

Properties

toBinaryString String
Converts the number to a binary (base-2) string representation.
no setter
toHexString String
Converts the number to a hexadecimal (base-16) string representation.
no setter

Methods

toCurrency({String symbol = '\$'}) String
Converts the number to a currency string format with an optional symbol prefix.