Valuator.roundValue

double roundValue(double val) const nothrow @nogc

Rounds a value to the nearest step multiple.

Parameters

valThe value to round

Returns

The rounded value