UNPKG

aveta

Version:

Convert long numbers into abbreviated and human-readable strings.

9 lines (8 loc) 341 B
import { IOptions } from './options'; /** * aveta converts long numbers to human-readable strings in an easy way. */ declare function aveta(value: number, options?: Partial<IOptions>): string; declare function avetaReverse(formattedValue: string, options?: Partial<IOptions>): number; export { aveta, avetaReverse }; export default aveta;