Skip to main content

Name

round — return the integral value nearest to x rounding half-way cases away from zero, regardless of the current rounding direction

Synopsis

#include "util.h"

| double **round** ( | x); |   |

double <var class="pdparam">x</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

return the integral value nearest to x rounding half-way cases away from zero, regardless of the current rounding direction.

Was this page helpful?