UNPKG

symmetric-round

Version:

A tiny utility function to perform symmetric rounding (a.k.a. "commercial rounding") on a number.

38 lines (37 loc) 944 B
{ "name": "symmetric-round", "version": "1.0.5", "description": "A tiny utility function to perform symmetric rounding (a.k.a. \"commercial rounding\") on a number.", "keywords": [ "commercial", "currency", "decimal", "Integer", "Math.round()", "Number", "price", "round", "rounding", "symmetric" ], "main": "src/index.js", "scripts": { "test": "./node_modules/.bin/eslint */*.js && jest", "coverage": "jest --coverage && cat ./coverage/lcov.info | coveralls" }, "repository": { "type": "git", "url": "git+https://github.com/DiscoNova/symmetric-round.git" }, "author": "Markku Post (Uttula)", "license": "MIT", "bugs": { "url": "https://github.com/DiscoNova/symmetric-round/issues" }, "homepage": "https://github.com/DiscoNova/symmetric-round#readme", "devDependencies": { "coveralls": "^3.0.5", "eslint": "^6.0.1", "jest": "^24.8.0" } }