Table of Contents

Search

  1. Preface
  2. Libraries for Industry Standards
  3. Using Libraries
  4. Descriptions of the Libraries
  5. Generate Library Objects

Libraries Guide

Libraries Guide

BCDToString

BCDToString

The
BCDToString
transformer converts packed binary code decimal input into a string. A binary code decimal number is a number coded so each nibble represents a decimal digit. A nibble is a half byte. The output is in little endian format, where the order of bytes is reversed so that the last byte in the input is the first byte in the output.

Example

You provide binary input that is equivalent to the following input to a
BCDToString
transformer:
52 54 98
The transformer takes the input and reverses the order of the bytes in the output.
The transformer provides the following string output:
985452

0 COMMENTS

We’d like to hear from you!