Hi
I having the value as 15.1.
After the decimal point, if i get the value greater than 1 means i need to add 1 to the current without any decimal
(i.e) my expected results is 16
Can any one please explain how can i able to achieve this .
Thanks.
You must ise Math.Ceiling function
double d = Math.Ceiling(16.0); double d2 = Math.Ceiling(16.1);
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.