Abs

(PHP 3, PHP 4 )

Abs -- Absolutwert

Beschreibung

mixed abs (mixed number)

Liefert den Absolutwert einer Zahl. Ist number vom Typ float, so ist auch das Ergebnis vom Typ float, ansonsten ist es vom Typ int.