rounding GLfloat values??

I want to round a GLfloat value to a GLint value in my program. Any one know how? I dont want to use a ceiling or floor function but rather actually round. I am using Visual C++ if it makes a difference. Thanks.

(int)(FloatNumber + 0.5f)