RoundToNearest Function

Standard IEEE rounding.

int RoundToNearest(float value)

Parameters

float value

Input value to be rounded.

Return Value

Rounded value.