Formatting numbers in vb.net
Dear all,
I want to know whether there is any function which satisfies my below condition.
dim i as integer
format(i,"0000") should return "0001" if i =1.
format(i,"0000") should return "0010" if i=10.
format(i,"0000") should return "0100" if i=100.
is there any function of that type..
Regards,
A M RAGHU
|