# achead-math

> ## 基于mathjs的二次封装,支持连加/减/乘/除

Latest version **1.0.7** (published 2020-05-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install achead-math
pnpm add achead-math
yarn add achead-math
bun add achead-math
```

## 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.7 |
| Published | 2020-05-07 |
| First published | 2020-05-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | angelise7 |

## Links

- npm: https://www.npmjs.com/package/achead-math
- Repository: https://github.com/angelise7/Achead-Math
- Homepage: https://github.com/angelise7/Achead-Math#readme
- Issues: https://github.com/angelise7/Achead-Math/issues
- npm.io page: https://npm.io/package/achead-math

## Dependencies (1)

- [mathjs](https://npm.io/package/mathjs.md) ^6.6.5

## Recent versions

- 1.0.7 (latest) — 2020-05-07
- 1.0.6 — 2020-05-07
- 1.0.5 — 2020-05-07
- 1.0.4 — 2020-05-07
- 1.0.3 — 2020-05-07
- 1.0.2 — 2020-05-07
- 1.0.1 — 2020-05-07
- 1.0.0 — 2020-05-07

## README

# Achead-Math

## 基于mathjs的二次封装,支持连加/减/乘/除


### Installation
To install Achead-Math,use npm

```
npm install achead-math
```

### Usage

```
import { AcheadMath} from 'achead-math'
```

1. add
  
```
AcheadMath.add(x,y,..z)

AcheadMath.add(1,2) //3
AcheadMath.add(1,2,3) //6
```


2. subtract
  
```
AcheadMath.subtract(x,y,..z)

```

3. divide
  
```
AcheadMath.divide(x,y,..z)


```

4. multiply
  
```
AcheadMath.multiply(x,y,..z)
```

5. round

  
```
AcheadMath.round(x,n)


AcheadMath.round(12.123,1) //12.1
```

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