Type any value to see formatIdr and parseIdr (number & fixed) in action.
., decimals ,. Minus sign preserved.number uses JS Number (IEEE-754). Mode fixed is exact (BigInt-based).fixed for financial-grade exactness (no floating errors). Render with formatIdr(fixed).
1.500 or 12.345.678, they’re thousands; otherwise first dot is decimal.