title: How to convert JSON/string attributes to decimal number with precision and scale in ruby
body: <p>Looking for some help in converting the json/string attribute to decimal with precision and scale (10,8) respectively using ruby decision table.</p>
  
  <p>Example:</p>
  
  <pre><code>Input value:
  Price : “000000045790000000”
  </code></pre>
  
  <p>Need to convert the above to</p>
  
  <pre><code>0000000457.90000000 
  </code></pre>
  
  <p>Any suggestions would be really helpful. Thanks in advance.</p>