@HiveDecimalWritableVersionV2
  public void setFromDouble(double doubleValue) {
    fastReset();
    isSet = fastSetFromDouble(doubleValue);
    if (!isSet) {
      fastReset();
    }
  }
Set a decimal writable's value to a doubles value.
<p>
Afterwards, the isSet() method will return true if the double to decimal conversion was successful.
storage-api/src/java/org/apache/hadoop/hive/serde2/io/HiveDecimalWritable.java