Parse by using parseFloat()

Yes, it seems to be a good solution.