Hi Friends,

I am trying to convert packed decimal to decimal by using ruby or shell but i dont have proper idea.
Input:i
Output:123456789012

suggest me how to convert or if any library or functions or code snippets.