remove wrong debug-out-put. Use ceil() instead on floor() to prevent rounding error.:w

This commit is contained in:
2023-05-09 11:52:17 +02:00
parent b02115bf75
commit 136e6687b8
3 changed files with 7 additions and 6 deletions

View File

@@ -509,6 +509,6 @@ double Calculator::GetCostFromDuration(Configuration* cfg, uint8_t payment_optio
double ret_val = total_cost;
total_cost = 0.0f;
// return ceil(ret_val);
return floor(ret_val);
return ceil(ret_val);
// return floor(ret_val);
}