Issues with stringTo* operations

Issues with stringTo* operations

book

Article ID: KB0089796

calendar_today

Updated On:

Products Versions
TIBCO KPSA - Mobile -
Not Applicable -

Description

Resolution:
Description:
============
When calling stringTo* operations that accepts a NumericBase argument (ex: stringToLong), the conversion fails or gives an unexpected result.        
          
Environment:
===========
KIS 5
Unix/Linux

Cause:
=====
Numeric base is not specified.      
    
Resolution:
==========
Set numeric base to SWString::Base10.
      
Attachments:
===========
Attached filename stringTo.tgz, contains a simple demo to test stringTo* operations.
  
References:
==========
KIS Developer's Guide, "Chapter13: String Operations".

Issue/Introduction

Issues with stringTo* operations