Skip to main content

FromIBMSigned

FromIBMSigned Function​

Converts IBM signed number.

Syntax​

FromIBMSigned (scalar Value, scalar Precision)

Arguments​

ArgumentDescription
scalar ValueAn IBM signed byte array
scalar PrecisionPrecision value indicating the position of decimal point

Examples:

FromIBMSigned (ToBytes("F1F2C3"),2)

Converts IBM Signed number F1F2C3 to +123 with precision 2. Returns -1.23 if input is F1F2D3 and 1.23 if it is F1F2F3