i don´t understand what u want to do.
First of all, if you cast something, do not use c-cast.
Use static_cast<int>(stuff) .
(if u cast number to string reinterpret cast and so on).
But this won´t fix your Problem, Integer´s are only full numbers, so if u cast 0,3 to a integer, it should be downgraded to 0 if i remember right (not sure atm).
Why would you do this?