Perhaps it's because it's Friday afternoon - but I just can't get my head around this one.

How can I "round" numbers. E.g 40.4 = 40 and 40.5 = 41

I'm askign this because I want to store a float as a signed int. My float willl normally be between -200 and +200 so if I want 2.d.p accuracy.

So if my float was -14.267894 I would like to round this to -14.27 and then multiply by 100 so I can store it in an int as -1427.

All the alorgithms I can think up to do this seem far too complex.