Chart.js/types/helpers/helpers.intl.d.ts
2021-03-21 11:04:27 +02:00

8 lines
313 B
TypeScript

/**
* Format a number using a localized number formatter.
* @param num The number to format
* @param locale The locale to pass to the Intl.NumberFormat constructor
* @param options Number format options
*/
export function formatNumber(num: number, locale: string, options: Intl.NumberFormatOptions): string;