pub fn format_number_literal(
value: f64,
suffix: NumericSuffix,
) -> Result<String, FormatNumericSuffixError>
Expand description
For UI code generation, format a number with a suffix. The result must parse as a literal. If it can’t be done, returns an error.
This is used by TS.