writeDouble

 

public void writeDouble(double v) throws IOException;

Writes a double into the message buffer at the current position. The behavior of this method is determined by encoding.

Values of MQC.MQENC_FLOAT_IEEE_NORMAL and MQENC_IEEE_FLOAT_REVERSED write IEEE standard floats in big-endian and little-endian formats respectively.

A value of MQC.MQENC_FLOAT_S390 writes a zSeries format floating point number. Note that the range of IEEE doubles is greater than the range of zSeries double precision floating point numbers, and that very large numbers cannot be converted.

Parameters

  • v - the double to be written.

Exceptions

  • IOException - if there is a problem with IO.


uj14140_