ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
11 lines (10 loc) • 553 B
TypeScript
import type { LocaleTextFunc } from '../agStack/interfaces/iLocaleService';
/**
* the native method number.toLocaleString(undefined, {minimumFractionDigits: 0})
* puts in decimal places in IE, so we use this method instead
* from: http://blog.tompawlak.org/number-currency-formatting-javascript
* @param {number} value
* @returns {string}
* @internal AG_GRID_INTERNAL - Not for public use. Can change / be removed at any time.
*/
export declare function _formatNumberCommas(value: number | null, getLocaleTextFunc: () => LocaleTextFunc): string;