11 lines
176 B
PHP
11 lines
176 B
PHP
|
<?php
|
||
|
namespace App\Utils;
|
||
|
|
||
|
class utils
|
||
|
{
|
||
|
public static function round_up_to_two_decimals($number): float
|
||
|
{
|
||
|
return round(ceil($number * 100) / 100, 2);
|
||
|
}
|
||
|
}
|