docs: public float getInternalFloat(ColumnInformation columnInfo) throws SQLException {
      if (lastValueWasNull()) {
        return 0;
      }
  
      switch (columnInfo.getColumnType()) {
        case BIT:
          return parseBit();
        case TINYINT:
        case SMALLINT:
        case YEAR:
        case INTEGER:
        case MEDIUMINT:
        case FLOAT:
        case DOUBLE:
        case DECIMAL:
        case VARSTRING:
        case VARCHAR:
        case STRING:
        case OLDDECIMAL:
        case BIGINT:
          try {
            return Float.valueOf(new String(buf, pos, length, StandardCharsets.UTF_8));
          } catch (NumberFormatException nfe) {
            SQLException sqlException = new SQLException("Incorrect format \""
                + new String(buf, pos, length, StandardCharsets.UTF_8)
                + "\" for getFloat for data field with type " + columnInfo.getColumnType()
                .getJavaTypeName(), "22003", 1264);
            //noinspection UnnecessaryInitCause
            sqlException.initCause(nfe);
            throw sqlException;
          }
        default:
          throw new SQLException(
              "getFloat not available for data field type " + columnInfo.getColumnType()
                  .getJavaTypeName());
      }
    }