Package Exports
- inrformat
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (inrformat) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
INRFormat
Indian number format
node
const inrformat = require('inrformat');
console.log(inrformat('123.00')); // 123.00
console.log(inrformat('123')); // 123
console.log(inrformat('123456.00')); // 1,23,456.00
Web
<script src="dist/inrformat.mini.js"></script>
console.log(inrformat('123.00')); // 123.00
console.log(inrformat('123')); // 123
console.log(inrformat('123456.00')); // 1,23,456.00