JSPM

idx-round

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q33101F
  • License ISC

Stock price rounding library for IDX (Indonesia) stock market

Package Exports

  • idx-round

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 (idx-round) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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.