G
Guest
I have the following:
String.Format("{0}", myNumber);
What is {0} called? The reason I ask is that I want to look up how present
myNumber as 2 digits in the string. For example, if myNumber is 3, the string
should be 03. If I just use something like {0:2}, I get a space preceeding
the 3.
Thanks,
Randy
String.Format("{0}", myNumber);
What is {0} called? The reason I ask is that I want to look up how present
myNumber as 2 digits in the string. For example, if myNumber is 3, the string
should be 03. If I just use something like {0:2}, I get a space preceeding
the 3.
Thanks,
Randy