M
Martin Eckart
Hi guys,
I have a form containing many different prices. At the end there is a field
which sums up all of them and gives you the total price.
All fields are data type double. If I sum up a few of them like 0.45, 0.45,
0.40 and 0.95 I get this as result: 2.600000000
Often times I even get 2.6000001 or so. I know that I can format the number
in the text box of the total price but this does not modify the xml. So, any
suggestions how to get rid of the many decimals (most of them being 0) so
that the above gets displayed like "2.6"?
Thanks to all of you,
Martin
I have a form containing many different prices. At the end there is a field
which sums up all of them and gives you the total price.
All fields are data type double. If I sum up a few of them like 0.45, 0.45,
0.40 and 0.95 I get this as result: 2.600000000
Often times I even get 2.6000001 or so. I know that I can format the number
in the text box of the total price but this does not modify the xml. So, any
suggestions how to get rid of the many decimals (most of them being 0) so
that the above gets displayed like "2.6"?
Thanks to all of you,
Martin