For receipts, invoices, cheques, and deeds
1,000,001becomessatu juta satu
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.
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.