doch, das kannst du indirekt, indem du in cent speicherst.wenn ich int nehme kann ich doch keine kommazahlen nehmen...oder??
Hier ein Beispiel
wenn ich mich irre, sagt es mir...Code:int kontostand = 1254 //12€ 54 Cent printf("%d.%d", kontostand%100, kontostand-(kontostand%100))