formatIDR: (
value: number,
opts?: { decimals?: number; symbol?: string },
) => string
Type Declaration
-
- (value: number, opts?: { decimals?: number; symbol?: string }): string
-
Parameters
- value: number
Optionalopts: { decimals?: number; symbol?: string }
Returns string