r697: BWA Darstellung korrigiert: Dezimalstellenangabe, Rundung, Formatierung mit Nachkommastellen
r698: BWA Darstellung korrigiert: Dezimalstellenangabe
foreach $kosten (@gesamtkosten) {
$form->{$kosten}{$key} *= -1;
}
foreach $kosten (@gesamtkosten) {
$form->{$kosten}{$key} *= -1;
}
$form->{4}{$key} *= -1;
foreach $category (@categories) {
$form->{4}{$key} *= -1;
foreach $category (@categories) {
$form->{"$key$category"} =
$form->format_amount($myconfig,
$form->round_amount($form->{$category}{$key}, 2
$form->{"$key$category"} =
$form->format_amount($myconfig,
$form->round_amount($form->{$category}{$key}, 2
+ ), $form->{decimalplaces}, '0');
}
}
foreach $item (@gesamtleistung) {
}
}
foreach $item (@gesamtleistung) {
($form->{$category}{$key} /
$form->{ "$key" . "gesamtleistung" } * 100
),
($form->{$category}{$key} /
$form->{ "$key" . "gesamtleistung" } * 100
),
+ $form->{decimalplaces}
+ ), $form->{decimalplaces}, '0');
}
}
foreach $item (@ergebnisse) {
}
}
foreach $item (@ergebnisse) {
( $form->{ "$key" . "$item" } /
$form->{ "$key" . "gesamtleistung" } * 100
),
( $form->{ "$key" . "$item" } /
$form->{ "$key" . "gesamtleistung" } * 100
),
+ $form->{decimalplaces}
+ ), $form->{decimalplaces}, '0');
($form->{$category}{$key} /
$form->{ "$key" . "gesamtkosten" } * 100
),
($form->{$category}{$key} /
$form->{ "$key" . "gesamtkosten" } * 100
),
+ $form->{decimalplaces}
+ ), $form->{decimalplaces}, '0');
}
}
foreach $item (@ergebnisse) {
}
}
foreach $item (@ergebnisse) {
($form->{ "$key" . "$item" } /
$form->{ "$key" . "gesamtkosten" } * 100
),
($form->{ "$key" . "$item" } /
$form->{ "$key" . "gesamtkosten" } * 100
),
+ $form->{decimalplaces}
+ ), $form->{decimalplaces}, '0');
$form->format_amount(
$myconfig,
$form->round_amount(
$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) {
}
}
foreach $item (@ergebnisse) {
($form->{ "$key" . "$item" } /
$form->{10}{$key} * 100
),
($form->{ "$key" . "$item" } /
$form->{10}{$key} * 100
),
+ $form->{decimalplaces}
+ ), $form->{decimalplaces}, '0');
$form->format_amount(
$myconfig,
$form->round_amount(
$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) {
}
}
foreach $item (@ergebnisse) {
($form->{ "$key" . "$item" } /
$form->{4}{$key} * 100
),
($form->{ "$key" . "$item" } /
$form->{4}{$key} * 100
),
+ $form->{decimalplaces}
+ ), $form->{decimalplaces}, '0');
}
}
foreach $item (@ergebnisse) {
$form->{ "$key" . "$item" } =
$form->format_amount($myconfig,
}
}
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');
. $locale->text('EUR')
. qq|</td>
</tr>
. $locale->text('EUR')
. qq|</td>
</tr>
+ <tr>
+ <th align=right colspan=4>| . $locale->text('Decimalplaces') . qq|</th>
+ <td><input name=decimalplaces size=3></td>
+ </tr>
+