Posts by Waldecir • 1 point
1 post
-
-3
votes2
answers72
viewsQ: Python does not advance and does not present an error after converting string to float, how to resolve?
I’m getting the string 24.120185722369005 from a MQTT(Hivemq) topic, but when converting to float, it ignores the rest of the function. def on_message(client, userdata, msg): temperatura =…