Function isExpectingFloat