mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Small code cleanup.
This commit is contained in:
@@ -245,7 +245,7 @@ class Steam
|
||||
*/
|
||||
public function positive(string $amount): string
|
||||
{
|
||||
if (bccomp($amount, '0') === 1) {
|
||||
if (bccomp($amount, '0') === -1) {
|
||||
$amount = bcmul($amount, '-1');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user