public static function floor($number)
    {
        if (self::compare($number, 0) == 1) {
            $result = bcadd($number, '0', 0);
        } else {
            $result = bcadd($number, '-1', 0);
        }

        return $result;
    }
public static function floor($number)
    {
        if (self::compare($number, 0) == 1) {
            $result = bcadd($number, '0', 0);
        } else {
            $result = bcadd($number, '-1', 0);
        }

        return $result;
    }
public static function floor ( $ number ) { if ( self :: compare ( $ number , 0 ) == 1 ) { $ result = bcadd ( $ number , '0' , 0 ) ; } else { $ result = bcadd ( $ number , '-1' , 0 ) ; } return $ result ; }
Calculates the next lowest whole value of a number.

@param string $number The number.

@return string The result.
Calculates the next lowest whole value of a number .