For receipts, invoices, cheques, and deeds
Numbers into Indonesian words. Exact up to kuadriliun.
Type a number, get it in Indonesian words — or the other way round.
Nearly every Indonesian accounting system has to write terbilang, and most break in the same places: satu ribu for seribu, empty groups read aloud, and precision collapsing above triliun.
- values verified one by one, not sampled
- 1,000,001
- directions: digits → words, and words → digits
- 2
- runtime dependencies inside the library
- 0
- precision stays exact past JavaScript's 2⁵³ limit
- BigInt
One ordinary number, end to end
Before touching anything: one unremarkable number, worked through step by step. The cases that break other implementations come after.
Where other implementations break
The right column is computed by this library; the struck-through text is the common wrong form.