Versions Compared

Key

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

Description

Excerpt
hiddentrue
Truncates a number to a specified precision.

Truncates a number to a specified precision.

Parameters

Return Type

Number

Example

Code Block
languagejs
number a = trunc(1.1578212823495777, 3);
print("a= " + a);

Prints: a= 1.157;

See also

Filter by label
showLabelsfalse
max25
showSpacefalse
cqllabel = "math_routine" and space = currentSpace ( )
labelsarray_routines

We've encountered an issue exporting this macro. Please try exporting again later.