Automattic\WooCommerce\Utilities
NumberUtil::ceil
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() NumberUtil::ceil code WC 10.3.6
public static function ceil( $val ): float {
return ceil( self::normalize( $val ) );
}