Reduce the epsilon value format to 5 decimal places

This commit is contained in:
Piv
2023-02-11 23:27:21 +10:30
parent ea6c5424ad
commit 37c95909db
2 changed files with 10 additions and 2 deletions

View File

@@ -388,7 +388,7 @@ where
for cost in results {
for department in cost.summed_department_costs {
// Any consumers should assume missing cc/account value was 0 (we already ignore overhead, as they all 0 out)
if department.value != 0. {
if department.value > 0.00001 || department.value < -0.00001 {
output.serialize(CsvCost {
account: cost.account.clone(),
department: department.department,