4.2.10 - DoubleToStringAddress() [U3 Datasheet] | LabJack
« Close

Datasheets and User Guides

App Notes

Software & Driver

Tuesday, March 31st, 2020
Support: LabJack engineers available through email and chat.
Shipping: We are processing and shipping all orders.
Stock: 55/56 products in stock. More details.
Supply Chain: Some disruptions. More details.

4.2.10 - DoubleToStringAddress() [U3 Datasheet]

Some special-channels of the config IOType pass IP address (and others) in a double. This function is used to convert the double into a string in normal decimal-dot or hex-dot notation.


LJ_ERROR _stdcall DoubleToStringAddress (  double Number,
                                           char *pString,
                                           long HexDot)

Parameter Description:
Returns: LabJack errorcodes or 0 for no error.

  • Number – Double precision number to be converted.
  • pString – Must pass a buffer for the string of at least 24 bytes.
  • HexDot – If not equal to zero, the string will be in hex-dot notation rather than decimal-dot.


  • pString – A pointer to the string representation.