num2cheque

    1.0.2 • Public • Published

    num2cheque

    converts a number to words for a cheque.

    Ex: 123123123.12 => "One hundred and twenty-three million, one hundred and twenty-three thousand, one hundred and twenty-three and 12/100"

    Installation

    npm install num2cheque
    

    Example Usage

    const num2cheque = require("num2cheque");
     
    console.log(num2cheque(123123123.12));
     

    Notes

    • this module intentionally does no input validation, so you should make sure you are passing in a number between 0-999999999

    Install

    npm i num2cheque

    DownloadsWeekly Downloads

    95

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    5.58 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar