title: Javascript - convert mixed fraction to decimal
body: <p>I have a series of recipe ingredients listed like "1-1/2" which I need to change to a proper number like "1.5" in order to calculate according to serving sizes. How do I change the mixed fraction to a decimal number? I've seen the eval function, which works for things like "1/2", but for something like "1-1/2" it evaluates it as ".5". </p>
  
  <p>Thanks for your help!</p>