Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In

Quick Launch

Average Rating:

facebook Twitter
Email
Print Bookmark Alert me when this article is updated

Feedback

HOW TO: Convert a hexadecimal ASCII value into an integer in a Data Transformation project
Solution

In order to convert hexadecimal ASCII value in the input file to an integer decimal output, use the following sequence of anchors:

Map

{

           source = XPath("$v_StartDate");

           target = XPath("$v_StartDate");

           transformers =

           [

                      ToInteger<from_base="hexadecimal">(4),

                      FromInteger(4)

           ];

}

Note
  • ToInteger function with hexadecimal base would convert input hexadecimal ASCII value into binary integer.
  • FromInteger function with decimal base would convert binary integer into ASCII integer value.
More Information
Reference
Applies To
Product: B2B Data Exchange
Problem Type:
User Type:
Project Phase:
Product Version:
Database:
Operating System:
Other Software:
Attachments
Last Modified Date:8/20/2009 5:28 AMID:107298
People who viewed this also viewed

Feedback

Did this KB document help you?



What can we do to improve this information (2000 or fewer characters)