The unsignedbinaryvalue( function converts binary data (a byte, word, or longword) into an unsigned number (see Binary Data).
Parameters
This function has one parameter:
data – is the binary value that you want to convert into an unsigned number. This value must be a byte, a word (2 bytes), a longword (4 bytes) or a longlongword (8 bytes).
Description
This function converts binary data (a byte, word, or longword) into an unsigned number (see Binary Data).
unsignedbinaryvalue(hextobinary("B9")) ☞ 185
Error Messages
unsignedbinaryvalue( function parameter must be a byte (8 bits), word (16 bits), longword (32 bits) or longlongword (64 bits). – This function does not work with arbitrary binary data, only data of the specified lengths.
See Also
History
Version | Status | Notes |
1.0 | New | New in this version. |