Microsoft Interview Question

Reverse a number which is in string format