Hi Lars,
thanks for your help.
I've tested your solution, and ... it works!!!
So, I'm a newbie in J#, could you explain me the following lines (please!):
> String format = ".00"; // The format you want.
[here you define the output format, I get it]
> java.text.DecimalFormat f = new java.text.DecimalFormat( format );
[what are you doing in this line? please explain me this line! do you add a
new object out of the variable format, and call it f?]
> String outp = f.format( sum ); // The formatted result.
[in this line I think you convert the formatted sum to an (output string)
variable, called outp, but what means f.format?]
Thanks for your help so far.
Regards,
Markus Komosinski
"Lars-Inge Tønnessen [VJ# MVP]" <http://emailme.larsinge.com> schrieb im
Newsbeitrag news:uvCgE1y1EHA.2540@TK2MSFTNGP09.phx.gbl...
> Hi Markus,
>
[quoted text clipped - 37 lines]
> Lars-Inge Tønnessen
> www.larsinge.com