add: tests
This commit is contained in:
parent
eebf859afa
commit
ce7f620984
16 changed files with 681 additions and 152 deletions
10
app/Utils/utils.php
Normal file
10
app/Utils/utils.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
namespace App\Utils;
|
||||
|
||||
class utils
|
||||
{
|
||||
public static function round_up_to_two_decimals($number): float
|
||||
{
|
||||
return round(ceil($number * 100) / 100, 2);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue