mirror of
https://git.zap.org.au/git/trader.git
synced 2024-12-04 14:46:45 -05:00
Bug fix: total worth CAN be negative!
This commit is contained in:
parent
04513c9d30
commit
6a55745d5d
@ -1139,10 +1139,6 @@ double total_value (int num)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (val < ROUNDING_AMOUNT) {
|
|
||||||
val = 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
return val;
|
return val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user