I think you need to move the second foreach loop outside of the first foreach loop. You need to move my %saldi; to before the first foreach loop.
I get (unformatted):
Is that something like what you're after?C 50.00 D 119.20
Let us know how you get on.
In reply to Re: Make calculation with values from hash
by wfsp
in thread Make calculation with values from hash
by GertMT
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |