This is the same. 06671 = 6671. Isn't it obvious?
If you want to obtain "06671", it it not about your number, this is about the way you present the number as a string:
Int32.ToString Method (System)[
^],
Int32.ToString Method (String) (System)[
^],
Standard Numeric Format Strings[
^],
Custom Numeric Format Strings[
^].
Strictly speaking, the problem "reverse a number" wasn't correctly defined. For example, you would get different result if you "reverse" the number's octal, hexadecimal digits, and so on. So, you could, alternatively, simply get a string first, via
ToString
or in some other way, and then reverse that string.
—SA