VMS Help
CRTL, lround
*Conan The Librarian
|
Rounds to the nearest integer value, rounding halfway cases away
from zero regardless of the current rounding direction.
This function is supported on OpenVMS Integrity servers and
Alpha only.
Format
#include <math.h>
long lround (double x);
long lroundf (float x);
long lroundl (long double x);
x
A real value.
The lround functions return the rounded integer value of x, with
halfway cases rounded away from zero regardless of the current
rounding direction.
n Upon success, the rounded integer value.