# node-arm-criptodata-handler

Latest version **1.0.0** (published 2018-09-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install node-arm-criptodata-handler
pnpm add node-arm-criptodata-handler
yarn add node-arm-criptodata-handler
bun add node-arm-criptodata-handler
```

## 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.0 |
| Published | 2018-09-28 |
| First published | 2018-09-28 |
| 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 | 0 |
| Maintainers | reytuty |

## Links

- npm: https://www.npmjs.com/package/node-arm-criptodata-handler
- Repository: https://github.com/reytuty/node-arm-criptodata-handler
- Homepage: https://github.com/reytuty/node-arm-criptodata-handler#readme
- Issues: https://github.com/reytuty/node-arm-criptodata-handler/issues
- npm.io page: https://npm.io/package/node-arm-criptodata-handler

## Recent versions

- 1.0.0 (latest) — 2018-09-28

## README

# ARMCriptoData Handler


## ARMCripto.limitSatoshDecimal

To get number limited to satoshi:

```

let criptoCoinValue = ARMCripto.limitSatoshDecimal( 555.123456789 ) ;
//out is: 555.12345678

``` 

Round UP

```

let criptoCoinValue = ARMCripto.limitSatoshDecimal( 555.123456789, true ) ;
//out is: 555.12345679

``` 


## ARMCripto.toSatoshiInt

Number to satoshi int:

```

let criptoCoinValue = ARMCripto.toSatoshiInt( 2.123456789 ) ;
//out is: 212345678

``` 

Round UP

```

let criptoCoinValue = ARMCripto.limitSatoshDecimal( 2.123456789, true ) ;
//out is: 212345679

```

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