# bankers-rounding

> Banker's rounding for Javascript

Latest version **0.1.3** (published 2017-05-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install bankers-rounding
pnpm add bankers-rounding
yarn add bankers-rounding
bun add bankers-rounding
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2017-05-02 |
| First published | 2017-05-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 16 |
| Author | Tronin Denis |
| Maintainers | tronin |
| Keywords | bankers, rounding, round, math |

## Links

- npm: https://www.npmjs.com/package/bankers-rounding
- Repository: https://github.com/tronin/bankers-rounding
- Homepage: https://github.com/tronin/bankers-rounding#readme
- Issues: https://github.com/tronin/bankers-rounding/issues
- npm.io page: https://npm.io/package/bankers-rounding

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 0.1.3 (latest) — 2017-05-02
- 0.1.2 — 2017-05-02
- 0.1.0 — 2017-05-02

## README

### Install

```
$ npm install --save bankers-rounding
```

### User

```
// ES5
var bankersRounding = require('bankers-rounding');

// ES6
import bankersRounding from 'bankers-rounding';


bankersRounding(2.5); // 2
bankersRounding(3.5); // 4
bankersRounding(0.025, 2); // 0.02
bankersRounding(0.035, 2); // 0.04
```

---
_Source: https://npm.io/package/bankers-rounding · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
