Hinweis:Dieser Abschnitt ist nur in englischer Sprache verfügbar. Wir bitten um Ihr Verständnis.
3.5.1.1.30 Nint
Description
This function returns the nearest integer of x. It functions identically as round(x, 0).
Syntax
int nint( double x)
Parameter
x
- is any numeric you want to get its nearest integer.
Return
returns the nearest integer of x.
Example
aa = nint(0.5); aa = ; //should return 1 bb = nint(-0.5); bb = ; //should return -1