Typecasting and floats