parsing invalid 'float' option

If string is not a valid number it does not throw exception as it should.