anint (Opus Funktion)

Beschreibung

Rundet eine Zahl von 0 weg.

Argumente

Name
Typ
Beschreibung
 floatBeliebige Zahl

Rückgabewert float

Gerundeter Wert, von 0 weg gerundet.

Beispiel

Result = anint(2.5);

Resultat: 3

Result = anint(-2.5);

Resultat: -3

Siehe auch

aint

irint

nint

rint