Versions Compared

Key

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

...

ArgumentTypeDescription
listOfValuesArrayList of values to be assessed
decimalPlaceIntegerDecimal place precision to be used

Examples

Decimals

roundUp(in.value, 2)

Where in.value contains [12.343,12.345], roundUp() returns [12.35, 12.35]


Whole Numbers

roundUp(187, -1)

returns 190


roundUp(182, -1)

returns 190


roundUp(182, -2)

returns 200

See Also