ilhami caliskan

ilhami caliskan

  • NA
  • 76
  • 89.8k

ceiling an integer in C#

Sep 15 2013 11:19 AM

 

 


Hi All,

int heightGroupBox = (((numberFloor / 3) * 25) + 30);

my code, but numerFloor is an integer and I have problems with ceiling the result,


for example I need 7/3 = 3 or 11/3 = 4 etc.

any suggestions? thanx

 

 


Answers (2)