M
Mark Fox
Hello,
I have a number that I am looking to change into a
string, but when I do this it has to add zeros to make
the string long enough. I am looking to have the string
be seven chars long no matter what the number is (it's
never over 9999999):
int string
999 "0000999"
12343 "0012343"
What string would I pass to the Int32's ToString("")
method to do this? Thanks!
I have a number that I am looking to change into a
string, but when I do this it has to add zeros to make
the string long enough. I am looking to have the string
be seven chars long no matter what the number is (it's
never over 9999999):
int string
999 "0000999"
12343 "0012343"
What string would I pass to the Int32's ToString("")
method to do this? Thanks!