Nint-func
This function returns the nearest integer of x. It functions identically as round(x, 0).
int nint( double x)
x
returns the nearest integer of x.
aa = nint(0.5); aa = ; //should return 1 bb = nint(-0.5); bb = ; //should return -1
round