--- sidebar_position: 9 title: Number --- Squiggle ``numbers`` are Javascript floats. Many of the functions below work on lists or pairs of numbers. import TOCInline from "@theme/TOCInline"; ### ceil ``` ceil: (number) => number ``` ### floor ``` floor: (number) => number ``` ### abs ``` abs: (number) => number ``` ### round ``` round: (number) => number ``` ## Statistics ### max ``` max: (list) => number ``` ### min ``` min: (list) => number ``` ### mean ``` mean: (list) => number ``` ### stdev ``` stdev: (list) => number ``` ### variance ``` variance: (list) => number ``` ## Algebra ### unaryMinus ``` unaryMinus: (number) => number ``` ### equal ``` equal: (number, number) => boolean ``` ### add ``` add: (number, number) => number ``` ### sum ``` sum: (list) => number ``` ### cumulative sum ``` cumsum: (list) => list ``` ### multiply ``` multiply: (number, number) => number ``` ### product ``` product: (list) => number ``` ### cumulative product ``` cumprod: (list) => list ``` ### subtract ``` subtract: (number, number) => number ``` ### divide ``` divide: (number, number) => number ``` ### pow ``` pow: (number, number) => number ``` ### exp ``` exp: (number) => number ``` ### log ``` log: (number) => number ```