This commit is contained in:
2022-06-13 21:36:52 -04:00
parent 3580738273
commit 42a97bb074
100 changed files with 2574 additions and 313 deletions

14
common/Service/Format.php Normal file
View File

@ -0,0 +1,14 @@
<?php
namespace Incoviba\API\Common\Service;
class Format
{
public function uf(float $number)
{
return number_format($number, 2, ',', '.');
}
public function pesos(float $number)
{
return number_format($number, 0, ',', '.');
}
}