Math

abs

pub fun abs(number: Num): Num

Returns the absolute value of a number

ceil

pub fun ceil(number: Num): Num

Returns the smallest integer greater than or equal to a number

floor

pub fun floor(number: Num): Num

Returns the largest integer less than or equal to a number

round

pub fun round(number: Num): Num

Returns a number, rounded to the nearest integer

sum

pub fun sum(list: [Num]): Num

Sums an array's contents