mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-23 01:16:46 -06:00
Fix #3568
This commit is contained in:
parent
0fe17d5458
commit
7aa3cd5ba4
@ -336,7 +336,7 @@ class TransactionGroupTransformer extends AbstractTransformer
|
||||
$bill = $this->getBill($journal->bill);
|
||||
|
||||
if (null !== $foreignAmount && null !== $foreignCurrency) {
|
||||
$foreignAmount = number_format($foreignAmount, $foreignCurrency['decimal_places'], '.', '');
|
||||
$foreignAmount = number_format((float) $foreignAmount, $foreignCurrency['decimal_places'], '.', '');
|
||||
}
|
||||
|
||||
return [
|
||||
|
Loading…
Reference in New Issue
Block a user