You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

NumberComponent.php 191B

3 years ago
1234567891011121314
  1. <?php
  2. namespace Lc\SovBundle\Component;
  3. class NumberComponent
  4. {
  5. public function round($price, $precision = 2)
  6. {
  7. return round((($price * 100)) / 100, $precision);
  8. }
  9. }