1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- Checkout.class.php (saved version)
+++ (current document)
@@ -59,13 +59,13 @@
      protected function calculate_price($amount)
      {
         $base_price = 39;
-        return bcmul($amount, $base_price); // See Arbitrary Precision Mathematics Functions: http://www.php.net/manual/en/ref.bc.php
+        return $amount * $base_price;
      }
      
      protected function calculate_vat($price)
      {
         $base_vat = 0.19;
-        return bcmul($amount, $base_vat);
+        return $amount * $base_vat;
      }