public static void writeDouble(Double value, DataOutput out) throws IOException {

    InternalDataSerializer.checkOut(out);

    if (logger.isTraceEnabled(LogMarker.SERIALIZER_VERBOSE)) {
      logger.trace(LogMarker.SERIALIZER_VERBOSE, "Writing Double {}", value);
    }

    out.writeDouble(value);
  }
Writes an instance of <code>Double</code> to a <code>DataOutput</code>.

@param value the <code>Double</code> to write
@param out the {@link DataInput} to write to

@throws IOException A problem occurs while writing to <code>out</code>
@throws NullPointerException if value is null.

@see #readDouble
geode-core/src/main/java/org/apache/geode/DataSerializer.java