Danke
jetzt klappts.
@PicNick
geht leider trotzdem nicht, bringt als Ergebnis 0.Code:zahl_int = (uint16_t)( (float)zahl * (float)1000) ;
Mit dem Vorschlag von McJenson klappts.
Soll das heißen man muss expliziet sagen das min. eine Zahl vom Typ float ist wenn man dies in eine Float-Variable speichern will?
mfg
Benny
Lesezeichen