squiggle/packages/website/docs/Api/Number.md
2022-06-05 14:13:56 -07:00

1.4 KiB

sidebar_position title
6 Number

ceil

(number): number

floor

(number): number

abs

(number): number

round

(number): number

max

(list<number>): number

maxBy

(list<number>, fn(element)):number

min

(list<number>): number

minBy

(list<number>, fn(element)):number

random

number;

randomInt

number;

mean

(list<number>): number

median

(list<number>): number

mode

(list<number>): number

std

(list<number>): number

variance

(list<number>): number

unaryMinus

(number): number

equal

(number, number): boolean

add

(number, number): number

sum

(number, number): number

multiply

(number, number): number

product

(number, number): number

subtract

(number, number): number

divide

(number, number): number

pow

(number, number): number

exp

(number): number

log

(number, number=Math.e): number

log10

(number): number