foreach $kosten (@gesamtkosten) {
$form->{$kosten}{$key} *= -1;
}
+
$form->{4}{$key} *= -1;
foreach $category (@categories) {
$form->{"$key$category"} =
$form->format_amount($myconfig,
$form->round_amount($form->{$category}{$key}, 2
- ));
+ ), $form->{decimalplaces}, '0');
}
}
foreach $item (@gesamtleistung) {
($form->{$category}{$key} /
$form->{ "$key" . "gesamtleistung" } * 100
),
- 2
- ));
+ $form->{decimalplaces}
+ ), $form->{decimalplaces}, '0');
}
}
foreach $item (@ergebnisse) {
( $form->{ "$key" . "$item" } /
$form->{ "$key" . "gesamtleistung" } * 100
),
- 2
- ));
+ $form->{decimalplaces}
+ ), $form->{decimalplaces}, '0');
}
}
($form->{$category}{$key} /
$form->{ "$key" . "gesamtkosten" } * 100
),
- 2
- ));
+ $form->{decimalplaces}
+ ), $form->{decimalplaces}, '0');
}
}
foreach $item (@ergebnisse) {
($form->{ "$key" . "$item" } /
$form->{ "$key" . "gesamtkosten" } * 100
),
- 2
- ));
+ $form->{decimalplaces}
+ ), $form->{decimalplaces}, '0');
}
}
$form->format_amount(
$myconfig,
$form->round_amount(
- ($form->{$category}{$key} / $form->{10}{$key} * 100), 2
- ));
+ ($form->{$category}{$key} / $form->{10}{$key} * 100),
+ $form->{decimalplaces}
+ ), $form->{decimalplaces}, '0');
}
}
foreach $item (@ergebnisse) {
($form->{ "$key" . "$item" } /
$form->{10}{$key} * 100
),
- 2
- ));
+ $form->{decimalplaces}
+ ), $form->{decimalplaces}, '0');
}
}
$form->format_amount(
$myconfig,
$form->round_amount(
- ($form->{$category}{$key} / $form->{4}{$key} * 100), 2
- ));
+ ($form->{$category}{$key} / $form->{4}{$key} * 100),
+ $form->{decimalplaces}
+ ), $form->{decimalplaces}, '0');
}
}
foreach $item (@ergebnisse) {
($form->{ "$key" . "$item" } /
$form->{4}{$key} * 100
),
- 2
- ));
+ $form->{decimalplaces}
+ ), $form->{decimalplaces}, '0');
}
}
foreach $item (@ergebnisse) {
$form->{ "$key" . "$item" } =
$form->format_amount($myconfig,
- $form->round_amount($form->{ "$key" . "$item" }, 2
- ));
+ $form->round_amount($form->{ "$key" . "$item" },
+ $form->{decimalplaces}
+ ), $form->{decimalplaces}, '0');
}
}