Skip to content

ceil

ceil(n): number

Defined in: Data/Num.ts:184

Rounds a number up to the nearest integer.

number

number

pipe(3.1, Num.ceil); // 4
pipe(-3.9, Num.ceil); // -3