Funktion floor()

Rundet eine Zahl ab.

Syntax

floor(wert)

Argumente

wert - eine Zahl.

Beispiel

floor(4.9) → 4
floor(-4.9) → -5