WriteFloat method

This method takes a signed 4-byte floating point value and writes it into the Message Data buffer as a 4-byte floating point number starting at the character referred to by DataOffset. It replaces any data already at these positions in the buffer, and extends the length of the buffer (MQMessage.MessageLength) if necessary.

DataOffset is incremented by 4 if the method succeeds.

The method converts to the binary representation specified by the MQMessage.Encoding property. Conversion to System/360 format is not supported.

Defined in: MQMessage class

Syntax:
Call MQMessage.WriteFloat(value! )

Parameter value! Float. Value to be written.