167 lines
1.4 KiB
Plaintext
167 lines
1.4 KiB
Plaintext
---
|
|
sidebar_position: 8
|
|
title: Number
|
|
---
|
|
|
|
### ceil
|
|
|
|
```javascript
|
|
(number): number
|
|
```
|
|
|
|
### floor
|
|
|
|
```javascript
|
|
(number): number
|
|
```
|
|
|
|
### abs
|
|
|
|
```javascript
|
|
(number): number
|
|
```
|
|
|
|
### round
|
|
|
|
```javascript
|
|
(number): number
|
|
```
|
|
|
|
### max
|
|
|
|
```javascript
|
|
(list<number>): number
|
|
```
|
|
|
|
### maxBy
|
|
|
|
```javascript
|
|
(list<number>, fn(element)):number
|
|
```
|
|
|
|
### min
|
|
|
|
```javascript
|
|
(list<number>): number
|
|
```
|
|
|
|
### minBy
|
|
|
|
```javascript
|
|
(list<number>, fn(element)):number
|
|
```
|
|
|
|
### random
|
|
|
|
```javascript
|
|
number;
|
|
```
|
|
|
|
### randomInt
|
|
|
|
```javascript
|
|
number;
|
|
```
|
|
|
|
### mean
|
|
|
|
```javascript
|
|
(list<number>): number
|
|
```
|
|
|
|
### median
|
|
|
|
```javascript
|
|
(list<number>): number
|
|
```
|
|
|
|
### mode
|
|
|
|
```javascript
|
|
(list<number>): number
|
|
```
|
|
|
|
### std
|
|
|
|
```javascript
|
|
(list<number>): number
|
|
```
|
|
|
|
### variance
|
|
|
|
```javascript
|
|
(list<number>): number
|
|
```
|
|
|
|
### unaryMinus
|
|
|
|
```javascript
|
|
(number): number
|
|
```
|
|
|
|
### equal
|
|
|
|
```javascript
|
|
(number, number): boolean
|
|
```
|
|
|
|
### add
|
|
|
|
```javascript
|
|
(number, number): number
|
|
```
|
|
|
|
### sum
|
|
|
|
```javascript
|
|
(number, number): number
|
|
```
|
|
|
|
### multiply
|
|
|
|
```javascript
|
|
(number, number): number
|
|
```
|
|
|
|
### product
|
|
|
|
```javascript
|
|
(number, number): number
|
|
```
|
|
|
|
### subtract
|
|
|
|
```javascript
|
|
(number, number): number
|
|
```
|
|
|
|
### divide
|
|
|
|
```javascript
|
|
(number, number): number
|
|
```
|
|
|
|
### pow
|
|
|
|
```javascript
|
|
(number, number): number
|
|
```
|
|
|
|
### exp
|
|
|
|
```javascript
|
|
(number): number
|
|
```
|
|
|
|
### log
|
|
|
|
```javascript
|
|
(number, number=Math.e): number
|
|
```
|
|
|
|
### log10
|
|
|
|
```javascript
|
|
(number): number
|
|
```
|