Versions Compared

Key

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



Excerpt
hiddentrue

roundDown(listOfValues, decimalPlace) Rounds a value down to a given number of decimal places.


Function: roundDown()

Rounds a value down to a given number of decimal places.

...

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

Examples

roundDown(in.value, 2)

Where in.value contains [12.343,12.345], roundDown() returns [12.34, 12.34]

...