title: Convert string to bigdecimal in javascript
body: <p>I have a jsp with javascript function.Within that I have BigDecimal return value.I want to put that to var variable by converting String to BigDecimal in javascript.Is there any way to convert that?</p>
  
  <p>My code is</p>
  
  <pre><code> &lt;script type="text/javascript"&gt;
    var amount=bigdecimalvalue;
   &lt;/script&gt; 
  </code></pre>
  
  <p>I get the big decimal value from a list using ajax.I want only to convert the bigdecimal value to String.</p>