idx-round
v1.0.2
Published
Stock price rounding library for IDX (Indonesia) stock market
Downloads
6
Maintainers
Readme
IDX Round
A small library to round stock price according to IDX price fraction
Installation
npm install idx-round
Usage
var round = require('idx-round');
var rounded = round(5019.2);
Output should be 5025
Tests
npm test
Contributing
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.