title: how to make negative numbers into positive
body: <p>I am having the negative floating point number as:</p>
  
  <pre><code>a = -0.340515;
  </code></pre>
  
  <p>to convert this into positive number I used the abs() method as:</p>
  
  <pre><code>a = abs(a);
  </code></pre>
  
  <p>the result is <code>a = 0.000000;</code></p>
  
  <p>But I need the result as <code>0.340515</code>.</p>
  
  <p>Can anyone tell me how to do this.</p>