Skip to content

A simple TypeScript helper for converting numbers to Indonesian words.

License

Notifications You must be signed in to change notification settings

gasatrya/terbilang-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terbilang TS

A simple TypeScript helper for converting numbers to Indonesian words. Inspired by terbilang-js by Naufal Rabbani.

Installation

You can include the terbilang.ts file in your project directly.

Usage

// Return String
terbilang(1); // Satu
terbilang(10); // Sepuluh
terbilang(100); // Seratus
terbilang(1000); // Seribu
terbilang(10000); // Sepuluh Ribu

About

A simple TypeScript helper for converting numbers to Indonesian words.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published