/home/techb158/public_html/wp-content/plugins/kirki/libraries/framework/Supports
Edit: /home/techb158/public_html/wp-content/plugins/kirki/libraries/framework/Supports/Utils.php (1878B)
0 ? 100 : 0;
}
return \round(($current - $previous) / $previous * 100, $precision);
}
/**
* Generates a UUID.
*
* @return string The UUID.
*
* @since 1.0.0
*/
public static function uuid()
{
return wp_generate_uuid4();
}
/**
* Converts a float to an integer by rounding up.
*
* @param float $value The float value to convert.
*
* @return int The rounded integer value.
*
* @since 1.0.0
*/
public static function to_int($value)
{
return (int) \round($value, 0, \PHP_ROUND_HALF_UP);
}
}