dtostrf return NANO

     Roe = (Dirroe+Refroe)/(Dirroe-Refroe);

What happens if Dirroe and Refroe are the same? Don't you think that you should check that?