Leading zeros in sum operation using c#.net -
example :
int = 0000000; int b = 17; int c = + b;
c value should 0000017
if b 223
means c should 0000223
you use output using .tostring("d7")
, read more in article how to: pad number leading zeros
c.tostring("d7");
Comments
Post a Comment