Hello,
As the title says, how to round up/down numbers to the following criteria. The number has to be rounded up/down to the number that is closest by
Hello,
As the title says, how to round up/down numbers to the following criteria. The number has to be rounded up/down to the number that is closest by
math.Round(“yourValue”,3)
3 - number of decimals
Cheers
Hi,
Can you try the following expression?
(Math.Round(d*4)/4).ToString("0.00")
note : d is double variable
Regards,
you are a magician with numbers, thanks!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.