Commit 15d276b7 authored by Frank Bergmann's avatar Frank Bergmann

- Fixed expr {...+0} issues

parent f2b1693a
......@@ -575,7 +575,7 @@ db_foreach sql $report_sql {
# Calculated Variables (New!)
set po_per_quote_perc "undef"
if {[expr {$quote_subtotal+0}] != 0} {
if {[expr $quote_subtotal+0] != 0} {
set po_per_quote_perc [expr {int(10000.0 * $po_subtotal / $quote_subtotal) / 100.0}]
set po_per_quote_perc "$po_per_quote_perc %"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment