readable-number.js
Simple Javascript function to make an integer become readable and vice versa.
Install
Include the readable-number.js to your HTML or web page file, Then it's ready to run. Or you can install via bower by run:
bower install readable-number-js
Or via NPM
npm install readable-number
Usage
// Return String; // 10,000 // Return Number; // 10000 // Test Itconsole; // string, '1,000'console; // number, 10000
Vue User?
You can download readable-number.js as a Vue Filter here OR as a Vue Directive Here Check it out!
Thank You for Making this useful~
Hopefully it can be useful for your next projects.
Let's talk about some projects
Just Contact Me At:
- Email: bosnaufalemail@gmail.com
- Skype Id: bosnaufal254
- twitter: @BosNaufal
License
MIT Copyright (c) 2016 - forever Naufal Rabbani