You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
364 B

/**
* Abbreviate number eg. 1000 = 1k
*
* Source: https://stackoverflow.com/a/9345181
*/
export declare const abbrValue: (value: number, decimalSeparator?: string, _decimalPlaces?: number) => string;
/**
* Parse a value with abbreviation e.g 1k = 1000
*/
export declare const parseAbbrValue: (value: string, decimalSeparator?: string) => number | undefined;