@HiveDecimalVersionV2
  public static HiveDecimal create(float floatValue) {
    HiveDecimal result = new HiveDecimal();
    if (!result.fastSetFromFloat(floatValue)) {
      return null;
    }
    return result;
  }
Create a HiveDecimal object from a float.
<p>
This method is equivalent to HiveDecimal.create(Float.toString(floatValue))
storage-api/src/java/org/apache/hadoop/hive/common/type/HiveDecimal.java