Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Using the Designer
  3. Working with Sources
  4. Working with Flat Files
  5. Working with Targets
  6. Mappings
  7. Mapplets
  8. Mapping Parameters and Variables
  9. Working with User-Defined Functions
  10. Using the Debugger
  11. Comparing Objects
  12. Managing Business Components
  13. Creating Cubes and Dimensions
  14. Using the Mapping Wizards
  15. Appendix A: Datatype Reference

Designer Guide

Designer Guide

Converting Strings to Numbers

Converting Strings to Numbers

The Integration Service converts strings to numbers based on the ASCII numeric format.
The following table provides examples of how the Integration Service converts strings to numbers when you pass strings from a string port to a numeric port:
String
Converts to Decimal
Double, Real
Bigint, Integer, Small Integer
‘18e-3’
18
0.018
18
‘18-e-3abc’
18
0.018
18
‘123abc’
123
123
123
‘A123cb’
0
0
0
‘abc’
0
0
0

0 COMMENTS

We’d like to hear from you!