pub fn format_units_with<T, K, E>(
amount: T,
units: K,
separator: DecimalSeparator,
) -> Result<String, UnitsError>
Expand description
Formats the given number of Wei as the given unit with a custom decimal separator.
pub fn format_units_with<T, K, E>(
amount: T,
units: K,
separator: DecimalSeparator,
) -> Result<String, UnitsError>
Formats the given number of Wei as the given unit with a custom decimal separator.