Prepare the use of ceil() instead of floor().

This commit is contained in:
Gerhard Hoffmann 2023-05-09 11:41:41 +02:00
parent ceb545b432
commit b02115bf75

View File

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