rounded-coinweight-js

3.0.3 • Public • Published

Welcome to rounded-coinweight-js 👋

Version License: ISC Twitter: zackchagal

This will round the number(amount of coins) calculated from given total weigth. Example: 204 gram of €2 coins, you need to calculate the amount of grams rounded because its not possible to have 0.01 > 0.99 coins. This function will return (200, 25). 200grams and 25 coins instead of 204 and 25.5

Install

npm install

Run tests

npm run test

Author

👤 Mark Teekens

Show your support

Give a ⭐️ if this project helped you!

Readme

Keywords

none

Package Sidebar

Install

npm i rounded-coinweight-js

Weekly Downloads

0

Version

3.0.3

License

ISC

Unpacked Size

1.02 MB

Total Files

32

Last publish

Collaborators

  • markteekens