rupees-to-words
v1.0.4
Published
Npm package to convert rupees to string
Downloads
1,264
Readme
rupees-to-words
NPM module to convert rupees into words
Description:
Module that changes the amount to string. Paisa also handled.
Usage
CMD: npm i rupees-to-words
import convertor from 'rupees-to-words';
const words = convertor(1234.12); //OUTPUT -> One Thousand Two Hundred Thirty Four Rupees and Twelve Paisa const words = convertor(123000); //OUTPUT -> One Lakh Twenty Three Thousand Rupees const words = convertor(9999.01); //OUTPUT -> Nine Thousand Nine Hundred Ninety Nine Rupees and One Paisa const words = convertor(10000.99); //OUTPUT -> Ten Thousand Rupees and Ninety Nine Paisa