[En-Nut-Discussion] Floating number problem

Sigurd Kleppan sigurkl at frisurf.no
Mon Mar 8 15:05:31 CET 2004


I have tried to print out a floating number with the fprintf command. I just got out a f instead of the variable.

Why doesn't this work?

floatvar = 0.2;
fprintf(stream, "hello, here is a float %f", floatvar);



Sigurd Kleppan
sigurkl at frisurf.no




More information about the En-Nut-Discussion mailing list