dos2unix. add TODO comment
This commit is contained in:
parent
d2664fdb95
commit
d765997ca5
@ -553,8 +553,8 @@ double Calculator::GetCostFromDuration(Configuration* cfg,
|
|||||||
|
|
||||||
inputDate = inputDate.addDays(1);
|
inputDate = inputDate.addDays(1);
|
||||||
overtime = true;
|
overtime = true;
|
||||||
double const partialCost = GetCostFromDuration(cfg, payment_option, inputDate, end_datetime, durationMinutes);
|
double const partialCost = GetCostFromDuration(cfg, payment_option, inputDate, end_datetime, durationMinutes, false, false);
|
||||||
if (partialCost < __DBL_EPSILON__) {
|
if (partialCost < __DBL_MIN__) {
|
||||||
return 0.0;
|
return 0.0;
|
||||||
}
|
}
|
||||||
costFromDuration += partialCost;
|
costFromDuration += partialCost;
|
||||||
@ -576,6 +576,8 @@ double Calculator::GetCostFromDuration(Configuration* cfg,
|
|||||||
//total_cost = 0.0f;
|
//total_cost = 0.0f;
|
||||||
//return ceil(ret_val);
|
//return ceil(ret_val);
|
||||||
|
|
||||||
|
// TODO: runden nur falls oberster stack-rahmen
|
||||||
|
|
||||||
return ceil(costFromDuration);
|
return ceil(costFromDuration);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user