Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

String.Format question

$
0
0

hi

i use this:  String.Format("{0:0,0}",MyNum)

and i get zero before the number if it small than 10

2  =  02  --->  how to get 2

12 = 12  OK

1234 = 1,234  OK

thanks


Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>