How to print 0000 insted of 0


Check the following simple job

static void Job100(Args _args)


container c;
string s;

s= “552-0000-110”;
c = str2con(s,"-");


It prints as follows


0 // instead of 0000 and


how to print the 0000 instead of single 0.

please help I have to store it as 0000 not as 0.

if any alternative solutions please suggest me.

Thank you.

c = str2con(s,"-",false); // set convertNumericToInt64 to false

Hi all,

I am trying to display it in grid i wrote a display method to display on grid but its still displaying 0 only

i want to display 0000 how to solve it.