Hi,
I have a decimal value of 1.01251
When i display this value in a Textbox - only three decimals, i get 1.013
Unfortunatly i need to build a sum for the whole column, and for sum calculation stimulsoft uses the orginial value of 1.01251
When I try to now use ROUND ROUND(value,3) i get 1.012 - so stimulsoft Rounds down.
I don't see an implementation for Midpoint Rounding including the decimals something like (Math.Round(value, 3, MidpointRounding.AwayFromZero))
Is it somehow possible to use same rounding function like the Textbox display is using?
Thanks
Stimulsoft Reports Round() vs Math.Round issue
-
- Posts: 6243
- Joined: Tue Mar 20, 2018 5:34 am
Re: Stimulsoft Reports Round() vs Math.Round issue
Hello,
Please clarify which product and version are you use?
Thank you.
Please clarify which product and version are you use?
Thank you.
- Attachments
-
- Screenshot 2022-06-15 000934.png (43.79 KiB) Viewed 586 times