3.0.3 ā€¢ Published 1 year ago

rounded-coinweight-js v3.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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!

3.0.3

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.3.0

1 year ago