signedbinaryvalue(
DATA
)

The signedbinaryvalue( function converts binary data (a byte, word, longword, or longlongword) into a signed number (see Binary Data).


Parameters

This function has one parameter:

data – is the binary value that you want to convert into an signed 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, longword, or longlongword) into a signed number (see Binary Data).

signedbinaryvalue(hextobinary("B9")) ☞ -71

Error Messages

signedbinaryvalue( 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

VersionStatusNotes
10.0NewNew in this version.