@williaminfante/ko-conversion
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

Conversion

A list of utilities for converting amounts preventing rounding errors with javascript floats. This uses the big.js library.

Table of Contents

Background

A list of utilities for converting amounts preventing rounding errors with javascript floats. This uses the big.js library. Examples include converting from cents to dollars, converting from dollars to cents, and using convert cents to dollars in string format.

Usage

This requires the big.js library.

Contributing

Please don't hesitate to raise an issue or submit a PR to improve this project. Thanks!

Readme

Keywords

Package Sidebar

Install

npm i @williaminfante/ko-conversion

Weekly Downloads

1

Version

1.2.1

License

ISC

Unpacked Size

5.49 kB

Total Files

6

Last publish

Collaborators

  • williaminfante