Prepare the use of ceil() instead of floor().
This commit is contained in:
parent
ceb545b432
commit
b02115bf75
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user