Abs

Abs -- 絶対値

説明

mixed abs(mixed number);

数値の絶対値を返します。 もしも引数が浮動小数(float)であれば、浮動小数(float)で返します、 さもなければ、整数(int)を返します。