type cast rawValue to float