mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 02:07:56 +00:00
15 lines
432 B
TypeScript
15 lines
432 B
TypeScript
import type { BN } from '../bn/bn.js';
|
|
import type { ToBn } from '../types.js';
|
|
interface Options {
|
|
/**
|
|
* @description The locale to use
|
|
*/
|
|
locale?: string;
|
|
}
|
|
/**
|
|
* @name formatNumber
|
|
* @description Formats a number into string format with thousand separators
|
|
*/
|
|
export declare function formatNumber<ExtToBn extends ToBn>(value?: ExtToBn | BN | bigint | number | null, { locale }?: Options): string;
|
|
export {};
|