I have a number, say 145725, and I have to convert it to another form in the following way 145 + ((72 + 5/2) / 100), where 145 is the first 3 digit, 72 is fourth & fifth digits, 5 is the last digit.
I get the result. Now I have to convert back to original form. I tried to find out a general formula. But failed to do so. Can anybody help me out?