title: How to convert from fraction formatted string to Decimal or Float in Java?
body: <p>I have few string values which I am fetching from my database e.g</p>
  
  <pre><code>"1/4","2/3"
  </code></pre>
  
  <p>But while displaying as Android ListView contents I need to display it as <code>0.25</code>,<code>0.66</code>.</p>
  
  <p>Now I don't want to split the string and then covert to individual strings to numbers and
  then divide them to have result.</p>
  
  <p>Does anyone know, any direct functions like <code>Double.valueOf</code> or <code>parseDouble</code> kind?</p>