Forum Discussion

murugans1011's avatar
murugans1011
Regular Contributor
10 years ago
Solved

aqconvert error

I m using aqconvert.StrtoInt to convert a number from str to int and i m getting following error during execution     text=aqconvert.StrToInt("5400238729") 'Argument is not  a number
  • Philip_Baird's avatar
    10 years ago
    Hi Murugan S, your number may be to large, aqConvert.StrToInt( "540023872" ) works.

     


    Try using:


     


    text = aqConvert.StrToInt64( "5400238729" );


     


    Regards,


    Phil Baird