Skip to content

Formatting ​

Formatting: numbers as display text.

ExportWhat it does
formatDecimalFormats a number with . before the decimals, no trailing zeros, no scientific notation and no -0.
formatNumberFormats a number like Angular's DecimalPipe: digits driven by digitsInfo, separators of a locale.

Generated from the JSDoc of the sources.