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);
|
||||
overtime = true;
|
||||
double const partialCost = GetCostFromDuration(cfg, payment_option, inputDate, end_datetime, durationMinutes);
|
||||
if (partialCost < __DBL_EPSILON__) {
|
||||
double const partialCost = GetCostFromDuration(cfg, payment_option, inputDate, end_datetime, durationMinutes, false, false);
|
||||
if (partialCost < __DBL_MIN__) {
|
||||
return 0.0;
|
||||
}
|
||||
costFromDuration += partialCost;
|
||||
@ -576,6 +576,8 @@ double Calculator::GetCostFromDuration(Configuration* cfg,
|
||||
//total_cost = 0.0f;
|
||||
//return ceil(ret_val);
|
||||
|
||||
// TODO: runden nur falls oberster stack-rahmen
|
||||
|
||||
return ceil(costFromDuration);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user