I tried various version to get what is not problem with int-values - leadiing zeros if a value is to small: 11 => "011"?
I have the double v = 5.123 I want to get the string "005.123" using StringFormat("",v);
Anybody knows how?
Thanks in advance,
double v = 5.123;
string Test = StringFormat("%07.3f",v);
Ah - ok! Thank you, angevoyageur too.
As I read it I remember!