WebLogic Messaging API Class Library |

# IBytesMessage.WriteDouble Method

Converts the `double` argument to a `long` using the `doubleToLongBits` method in class `Double`, and then writes that `long` value to the bytes message stream as an 8-byte quantity, high byte first.

void WriteDouble(
Double value
);

#### Parameters

Double
  the `double` value to be written

#### Exceptions

Exception Type | Condition
--- | ---
MessageException | if JMS fails to write the message due to some internal error.
MessageNotWriteableException | if the message is in read-only mode.

#### See Also

IBytesMessage Interface | WebLogic.Messaging Namespace