Codebox Operators round

round

Round to nearest integer or multiple of a given value

round(in1, in2): out1

Arguments:

Arguments

NameTypeDefaultDescription
in1number

The value to be rounded

in2number1

Round to the nearest this

Returns

NameTypeDescription
out1number

The rounded value