UNPKG

@synergy-design-system/components

Version:

This package provides the base of the Synergy Design System as native web components. It uses [lit](https://www.lit.dev) and parts of [shoelace](https://shoelace.style/). Synergy officially supports the latest two versions of all major browsers (as define

9 lines (8 loc) 464 B
/** * Formats a number using the Intl.NumberFormat API. * @param value The value to format * @param step The step value to use for formatting. Used if no minimumFractionDigits is provided. * @param numberFormatterOptions Additional parameters to pass to the number formatter. * @returns The formatted value */ export declare const formatNumber: (value: number, step: number | string | undefined, numberFormatterOptions?: Intl.NumberFormatOptions) => string;