idx-round

1.0.2 • Public • Published

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.

/idx-round/

    Package Sidebar

    Install

    npm i idx-round

    Weekly Downloads

    4

    Version

    1.0.2

    License

    ISC

    Last publish

    Collaborators

    • jazarja