$output = tally ($dbh, "Aus", $where . "price < 0.0");
$input = tally ($dbh, "Ein", $where . "price < 0.0");
- printf "<p>Summe Steuern: %.2f", $input["tax"] - $output["tax"];
- printf "<br>Summe netto: %.2f", $input["netto"] - $output["netto"];
- printf "<br>Summe btutto: %.2f</p>", $input["brutto"] - $output["brutto"];
+ printf ("<p>Summe Steuern: %.2f", $input["tax"] - $output["tax"]);
+ printf ("<br>Summe netto: %.2f", $input["netto"] - $output["netto"]);
+ printf ("<br>Summe btutto: %.2f</p>", $input["brutto"] - $output["brutto"]);
}
function tally ($dbh, $head, $where)