Afaik casting is actually not possible because there is no automatic data conversion in Sourcepawn.
All you can do is, to "tag" a variable into another datatype. For float / cell (int) conversion you actually have to use the proper functions if you don't want to end with garbish data.
PHP Code:
// Float to cell
new integer = RoundToCeil(5.3); // Conversion to int and tag change by function
// 4 rounding functions exist: RoundToZero, RoundToCeil, RoundToFloor, RoundToNearest
// Cell to float
new Float:floating = float(5); // Conversion to int and tag change by function
// Hardcode a new tag (-type)
new Handle:tagChange = Handle:5; // This would tag a number as handle (This is just an example, you shouldn't actually do this).
__________________