decode_bcd_string

The decode_bcd_string operations decodes the field's value as a binary-encoded-decimal number and stores the result in the specified field.

The destination field can be any of the following types:
  • BLOB
  • INT8
  • INT16
  • INT32
  • INT64
  • PHONE_NUMBER
  • STRING
  • UINT8
  • UINT16
  • UINT32
  • UINT64

For example, 0x1234 is decoded as 1234. If the result field is a BLOB or a STRING, then the result is a decimal ASCII value.