mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 01:42:19 +00:00
Fix #3568
This commit is contained in:
@@ -336,7 +336,7 @@ class TransactionGroupTransformer extends AbstractTransformer
|
|||||||
$bill = $this->getBill($journal->bill);
|
$bill = $this->getBill($journal->bill);
|
||||||
|
|
||||||
if (null !== $foreignAmount && null !== $foreignCurrency) {
|
if (null !== $foreignAmount && null !== $foreignCurrency) {
|
||||||
$foreignAmount = number_format($foreignAmount, $foreignCurrency['decimal_places'], '.', '');
|
$foreignAmount = number_format((float) $foreignAmount, $foreignCurrency['decimal_places'], '.', '');
|
||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
Reference in New Issue
Block a user