Skip to content

Commit

Permalink
Merge pull request #1128 from solverat/tracking_factor
Browse files Browse the repository at this point in the history
remove decimal factor multiplier in order extractor
  • Loading branch information
dpfaffenbauer authored Oct 10, 2019
2 parents fe58ab7 + d49ea97 commit ccac6a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ public function updateMetadata($object, $data = []): array
*/
protected function parseAmount($amount)
{
return (int) round((round($amount / $this->decimalFactor, $this->decimalPrecision) * 100), 0);
return round((round($amount / $this->decimalFactor, $this->decimalPrecision)), 0);
}
}

0 comments on commit ccac6a9

Please sign in to comment.