# to-decimal-arbitrary-precision

> Ensures a number is represented as a decimal

Latest version **1.0.2** (published 2015-11-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install to-decimal-arbitrary-precision
pnpm add to-decimal-arbitrary-precision
yarn add to-decimal-arbitrary-precision
bun add to-decimal-arbitrary-precision
```

## 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 | 2015-11-18 |
| First published | 2015-11-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Javier Cejudo |
| Maintainers | javiercejudo |
| Keywords | conversion, units |

## Links

- npm: https://www.npmjs.com/package/to-decimal-arbitrary-precision
- Repository: https://github.com/javiercejudo/to-decimal
- Issues: https://github.com/javiercejudo/to-decimal/issues
- npm.io page: https://npm.io/package/to-decimal-arbitrary-precision

## Recent versions

- 1.0.2 (latest) — 2015-11-18
- 1.0.0 — 2015-11-17

## README

# to-decimal

[![Build Status](https://travis-ci.org/javiercejudo/to-decimal.svg)](https://travis-ci.org/javiercejudo/to-decimal)
[![Coverage Status](https://coveralls.io/repos/javiercejudo/to-decimal/badge.svg?branch=master)](https://coveralls.io/r/javiercejudo/to-decimal?branch=master)
[![Code Climate](https://codeclimate.com/github/javiercejudo/to-decimal/badges/gpa.svg)](https://codeclimate.com/github/javiercejudo/to-decimal)

Ensures a number is represented as a decimal

## Install

    npm i to-decimal-arbitrary-precision

## Usage

```js
var Decimal = require('linear-arbitrary-precision')(require('floating-adapter'));
var toDecimal = require('to-decimal-arbitrary-precision')(Decimal);

toDecimal(32); // => new Decimal('32')
```

## Related projects

- [linear-presets](https://github.com/javiercejudo/linear-presets): linear presets for common units.
- [linear-converter](https://github.com/javiercejudo/linear-converter): flexible linear converter.

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