Have ideas to improve npm?Join in the discussion! »

    humanize-number

    0.0.2 • Public • Published

    humanize-number

    Humanize a number 1000000.99 -> 1,000,000.99

    Installation

    $ component install component/humanize-number
    

    Example

    var humanize = require('humanize-number');
     
    humanize(1000);
    // => '1,000'
     
    humanize(1000.55, { delimiter: '.', separator: ',' });
    // => '1.000,55'

    License

    MIT

    Keywords

    none

    Install

    npm i humanize-number

    DownloadsWeekly Downloads

    220,650

    Version

    0.0.2

    License

    none

    Last publish

    Collaborators

    • avatar