- formatting(value, formatting, locale?): string
Parameters
value: string | number
formatting: {
currencyCode?: string;
decimal?: number;
digitsInfo?: string;
shortNumber?: boolean;
unit?: string;
useUnderlyingUnit?: boolean;
}
Optional
currencyCode?: string
Optional
decimal?: number
Optional
digitsInfo?: string
Optional
shortNumber?: boolean
Optional
unit?: string
Optional
useUnderlyingUnit?: boolean
Optional
locale: string
Returns string