A collection of libraries in various programming languages for formatting numbers into the "Lakh Crore" (...हजार, लाख, करोड, अर्ब...) system.
This numbering system (also known as Indian numbering system) is widely used in the subcontinent, including Bangladesh, Bhutan, India, Maldives, Nepal, Pakistan and Sri Lanka to express large numbers. The terms lakh
and crore
are commonly used in everyday scenarios. The library currently supports formatting all the way up to sankha
.
As of now, the library is written for the following languages. Support for more subcontinental languages across other programming languages will be added over time. Please feel free to open a PR for a language you want this library to support.
- Nepali / नेपाली
The current goal of the library is to be format numbers into two types of representation.
- Number expressed as numeral in the target language
- Number expressed as words in the target language
A handful of functions are made available to facilitate this. Please take a look at the individual language documentation (as mentioned above) for more details.
Copyright © 2021, Suvash Thapaliya
Distributed under the ISC License.