fixed str -> float
Merge pull request #42 from teharrison/master

fixed str -> float