Files
wticreatorstudio/Modules/StaffPayroll/Services/InvoiceAmountResponseService.php
T
2024-02-12 22:54:20 -05:00

17 lines
325 B
PHP

<?php
namespace Modules\StaffPayroll\Services;
class InvoiceAmountResponseService
{
public static function amountFloat($amount = 0): float
{
return round($amount, 2);
}
public static function amountString($amount = 0): string
{
return number_format($amount, 2);
}
}