Automattic\WooCommerce\Utilities

NumberUtil::ceilpublic staticWC 1.0

Ceil a number using the built-in ceil function.

Method of the class: NumberUtil{}

No Hooks.

Returns

float.

Usage

$result = NumberUtil::ceil( $val ): float;
$val(mixed) (required)
The value to ceil.

NumberUtil::ceil() code WC 10.3.6

public static function ceil( $val ): float {
	return ceil( self::normalize( $val ) );
}