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

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -