Skip to end of banner
Go to start of banner

ceiling

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Description

Returns number rounded up, away from zero, to the nearest multiple of significance.

Parameters

Return Type

Number

Example

Prints:

number a = ceiling(2.5, 1);
print("a= " + a);
number b = ceiling(-2.5, -2);
print("b= " + b);

Prints:
a= 3;
b= -4;

If number is positive and significance is negative, ceiling returns the NaN value.

See also

Filter by label

There are no items with the selected labels at this time.

We've encountered an issue exporting this macro. Please try exporting this page again later.
  • No labels