1.0.9 • Published 6 months ago

js-number-to-text v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

js-number-to-text

number-to-text is a small function that drives number to text converter.

Installation

Node.js npm install js-number-to-text

Usage

Node.js

const GetNumberToText = require('js-number-to-text');

Example

const textValue = GetNumberToText(125);
console.log(textValue);
-> "One Hundred Twenty Five"

Update

<!-- Now it can covert till 1000 crore. changes some code to fix bugs. -->
const textValue = GetNumberToText(9999999999);
console.log(textValue);
-> "Nine Hundred Ninety Nine Crore Ninety Nine Lac Ninety Nine Thousand Nine Hundred Ninety Nine"

Copyright

This is free

1.0.9

6 months ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago