0.0.9 • Published 7 years ago

terbilang-spelling v0.0.9

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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 puluh

Naming 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'
0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

10 years ago

0.0.1

10 years ago