Thanks Mark44 for the response!
Appreciate the time.
Since I am dealing with a fixed length string, I will try and put it into a single line of javascript code. Dont think a loop is necessary,
Something like ..
Y = '013' + x[0] + '3' + x[1] + '3' + x[2] + '3' + x[3] + '3' + x[4] + '3' + x[5]...
Thanks friends,
lluke - thanks for working it out. I think I get the essence of your solution: extract the digit from 10^n position, and multiply it with 10^2n -- and iterate & accumulate the sum.
Mark44 - thanks to you too.
I believe the current excel sheet I have does the same thing in...
I am using an excel sheet to generate some URLs that need a input number encoded.
I figured out the pattern -- it is a simple digit manipulation
Input --> Encoded Output
-------- ----------------------
271678 --> 01303032373136373875
261268 -->...