Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. XMap
  7. Libraries
  8. Schema Object
  9. Command Line Interface
  10. Scripts
  11. Parsers
  12. Script Ports
  13. Document Processors
  14. Formats
  15. Data Holders
  16. Anchors
  17. Transformers
  18. Actions
  19. Serializers
  20. Mappers
  21. Locators, Keys, and Indexing
  22. Streamers
  23. Validators, Notifications, and Failure Handling
  24. Validation Rules
  25. Custom Script Components

Data Transformation User Guide

Data Transformation User Guide

ToInteger

ToInteger

The
ToInteger
transformer converts a number from an ASCII string representation to a binary integer. The string input can be decimal, octal, or hexadecimal. The conversion is performed in the output encoding with the output byte order.
The following table describes the properties of the
ToInteger
transformer:
Property
Description
disabled
Determines whether the Script ignores the component and all of the child components. Use this property to test, debug, and modify a Script. You can choose one of the following options:
  • Selected. The Script ignores the component.
  • Cleared. The Script applies the component.
The default is cleared.
from_base
Defines the base of the input. The
to_base
property has the following options:
  • decimal. Base 10.
  • hexadecimal. Base 16 using capital letters A-F.
  • lowercase hexadecimal. Base 16 using lowercase letters a-f.
  • octal. Base 8.
Default is decimal.
name
A descriptive label for the component. This label appears in the log file and the
Events
view. Use the
name
property to identify the component that caused the event.
optional
Determines whether a component failure causes the parent component to fail. You can choose one of the following options:
  • Selected. Component failure does not cause the parent component to fail.
  • Cleared. Component failure causes the parent component to fail.
Default is cleared. For more information about component failure, see Failure Handling.
remark
A user-defined comment that describes the purpose or action of the component.
signed
Determines whether the input number has a sign. The
to_base
property has the following options:
  • Selected. The output number has a sign.
  • Cleared. The output number does not have a sign.
Default is cleared.
size
Defines the size in bytes of the binary representation. The supported values are 1 to 8.
This component does not support UTF-8 input encoding.


Updated September 26, 2018