Package Exports
- terbilang-spelling
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (terbilang-spelling) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
terbilang-spelling
Convert numbers to Indonesian spelling. Supports floating point
How to install
npm install terbilang-spelling How to use
var terbilang = require('terbilang-spelling');
console.log(terbilang(123)); // seratus dua puluh tiga
console.log(terbilang(2312.009170000)); // dua ribu tiga ratus dua belas koma nol nol sembilan satu tujuh
console.log(terbilang(123456789987654321)); // seratus dua puluh tiga kuadriliun empat ratus lima puluh enam triliun tujuh ratus delapan puluh sembilan miliar sembilan ratus delapan puluh tujuh juta enam ratus lima puluh empat ribu tiga ratus dua puluhNaming Standards
1.000.000 (6) = 1 Juta.
1.000.000.000 (9) = 1 Milyar.
1.000.000.000.000 (12) = 1 Triliun.
1.000.000.000.000.000 (15) = 1 Kuadriliun.
1.000.000.000.000.000.000 (18) = 1 Kuantiliun.Limitation
Handles up to 'kuantiliun'