Swat/SwatNumber.php
public static function roundUp($value, $fractional_digits)
    {
        $power = pow(10, $fractional_digits);
        $value = ceil($value * $power) / $power;

        return $value;
    }
public static function roundUp($value, $fractional_digits)
    {
        $power = pow(10, $fractional_digits);
        $value = ceil($value * $power) / $power;

        return $value;
    }
public static function roundUp ( $ value , $ fractional_digits ) { $ power = pow ( 10 , $ fractional_digits ) ; $ value = ceil ( $ value * $ power ) / $ power ; return $ value ; }
Rounds a number to the specified number of fractional digits using the
round-half-up rounding method

See {@link http://en.wikipedia.org/wiki/Rounding#Round_half_up}.

@param float $value the value to round.
@param integer $fractional_digits the number of fractional digits in the
rounded result.

@return float the rounded value.
Rounds a number to the specified number of fractional digits using the round - half - up rounding method