# fixed-round

> Math.round with fixed, formats a number using fixed-point notation and returns a number.

Latest version **1.0.2** (published 2018-08-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install fixed-round
pnpm add fixed-round
yarn add fixed-round
bun add fixed-round
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2018-08-26 |
| First published | 2017-06-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | ProtoTeam |
| Maintainers | atool |
| Keywords | round, toFixed, fixed-round |

## Links

- npm: https://www.npmjs.com/package/fixed-round
- Repository: https://github.com/TCharts/fixed-round
- Homepage: https://github.com/TCharts/fixed-round#readme
- Issues: https://github.com/TCharts/fixed-round/issues
- npm.io page: https://npm.io/package/fixed-round

## Recent versions

- 1.0.2 (latest) — 2018-08-26
- 1.0.0 — 2017-07-06
- 0.0.1 — 2017-06-29

## README

# fixed-round

> Math.round with fixed, formats a number using fixed-point notation and returns a number.

[![Build Status](https://travis-ci.org/TCharts/fixed-round.svg?branch=master)](https://travis-ci.org/TCharts/fixed-round) [![Coverage Status](https://coveralls.io/repos/github/TCharts/fixed-round/badge.svg)](https://coveralls.io/github/TCharts/fixed-round) [![npm](https://img.shields.io/npm/v/fixed-round.svg)](https://www.npmjs.com/package/fixed-round) [![npm download](https://img.shields.io/npm/dm/fixed-round.svg)](https://www.npmjs.com/package/fixed-round)


## Usage

> **npm i --save fixed-round**


```js
var round = require('fixed-round');
// round(number, toFixed);

round(125.34567, 2); // 125.35
round(125.34567); // 125
round(125.34567, -1); // 130
```


## License

ISC@[hustcc](https://github.com/hustcc).

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