Change the precision. Should not influence anything.

This commit is contained in:
James Cole
2016-03-16 17:47:07 +01:00
parent 64f273120e
commit fe9b8e834d
33 changed files with 4 additions and 57 deletions

View File

@@ -147,7 +147,6 @@ class Importer
*/
protected function createTransactionJournal()
{
bcscale(2);
$date = $this->importData['date'];
if (is_null($this->importData['date'])) {
$date = $this->importData['date-rent'];

View File

@@ -19,7 +19,6 @@ class Amount implements PostProcessorInterface
*/
public function process()
{
bcscale(2);
$amount = $this->data['amount'] ?? '0';
$modifier = strval($this->data['amount-modifier']);
$this->data['amount'] = bcmul($amount, $modifier);