Mround

Description

Rounds an argument’s (Double) value to the nearest whole number (Double) multiple of a specified factor.  A new column is created for the results.

Use

  • Argument:
    • Select an argument. (Double) 
  • Output field name:
    • Enter an output field name.
  • Enter the factor to round the argument's value to the nearest multiple. 

Example

ValueFactorMround() returns
7.3536.0
45.4742.0
734593.027734589.0

Hero Platform_ Example

An example of this function can be found in Hero Platform_'s library of examples.

Download the example titled "function_Mround" to see an example of this function. 

Type

Formulas