Raise error when price is not a float
Test for when a price is not a float