Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Info
titleAvailability

This routine is available since katl-commons starting with SIL Engine™2.5.

Syntax

...

ceiling(number, significance)

Description

...


Excerpt

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



Parameters

...

ParameterTypeRequiredDescription
numberNumberYes
The numeric
Numeric value you want to round.
significanceNumberYes
The multiple to which
Multiple you want to round to.

Return type

...

number

Example

...

Code Block
number a = floor(2.5, 1);
print("a= " + a);
number b = floor(-2.5, -2);
print("b= " + b);

Prints:

   a= 3;

   b= -4;

 Notes:

...

 Notes

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

See

...

 

...

also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "math_routines"
labelsmath_routines