Commit a3f902af authored by David Weston's avatar David Weston Committed by GitHub

Update stppbilling.php

parent c008cbe9
......@@ -33,7 +33,7 @@ class STPPBilling extends STPPAddressable
if(empty($this->options["amount"]["currencycode"]))
$this->options["amount"]["currencycode"] = "GBP";
$this->options["amount"]["value"] = (integer) ($amount * 100);
$this->options["amount"]["value"] = sprintf("%.0f", $amount * 100);
return $this;
}
......@@ -186,4 +186,4 @@ class STPPBilling extends STPPAddressable
return true;
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment