Typecasting into float