Reject non-floating point values for float type.