Math.ceil()

Round up a number.

Signature

Math.ceil(x: Number): Number

Description

Gets the value of x rounded up.

Parameters

Parameter Type Required Description

x

Number

Yes

Number to round up.

Return value

Type Description

Number

Value of x rounded up.

Examples

Math.ceil(7.004)
8

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!