mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix #6743
This commit is contained in:
parent
bdf7d3978f
commit
89ab62fff2
@ -108,6 +108,9 @@ class Steam
|
||||
if(null === $number) {
|
||||
return '0';
|
||||
}
|
||||
if('' === trim($number)) {
|
||||
return '0';
|
||||
}
|
||||
if (str_contains($number, '.')) {
|
||||
if ($number[0] !== '-') {
|
||||
return bcadd($number, '0.'.str_repeat('0', $precision).'5', $precision);
|
||||
|
Loading…
Reference in New Issue
Block a user