Make sure to read the manual carefully, especially the section regarding numbers.
The parts that should be of interest to you are such things as Int and Round (especially Round for your case), although you may then decide to try Floor or Ceiling.
Have a look and get back to us if you still have a problem.
Round seems very useful but how do you use it for a variable?