Use Math.Ceiling()
Convert.ToInt32(Math.Ceiling(26.0 / 12.0));
It rounds off the number to the next number.
1
solved How i can calculate Decimals to real integer?
Use Math.Ceiling()
Convert.ToInt32(Math.Ceiling(26.0 / 12.0));
It rounds off the number to the next number.
1
solved How i can calculate Decimals to real integer?