Round number in windows
I am having a value
Double price = 10.2;
I want output to 11. When I use Math.Round (price) tge output is 10 but I need 11.
Is there any built in function in desktop application
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit GuptaPosted Mar 17, 2017, 10:18 AM
Ramesh PalanivelPosted Mar 17, 2017, 10:30 AM
MessageBox.Show(Convert.ToString(Math.Ceiling(val)));