convert Hex result of sensor to integer value

@AWOL:

I have just realized, that at some occasions I get the correct resutl:

The correct result for the oxigen value would be 205...

This number does come often - so you meight be right...

How could I avoid this?

Thanks.