Function swri_math_util::ToNearest
Defined in File math_util.h
Function Documentation
-
double swri_math_util::ToNearest(double value, double multiple)
Round the value to the nearest provided multiple.
- Parameters:
value – [in] The number to round.
multiple – [in] The multiple.
- Returns:
The rounded value.