Function fcvt incorrect.
example: int dec, sign; printf("%s\n", fcvt(1.12, 2, &dec, &sign));
result: 1.12e+00
but need: 112
"flyker" == flyker flyker@everys.com writes:
flyker> Function fcvt incorrect. example: int dec, sign; printf("%s\n", flyker> fcvt(1.12, 2, &dec, &sign));
flyker> result: 1.12e+00
flyker> but need: 112
In what way does that behaviour hurt you(r application)?
Bye
Uwe Bonnes wrote:
"flyker" == flyker flyker@everys.com writes:
flyker> Function fcvt incorrect. example: int dec, sign; printf("%s\n", flyker> fcvt(1.12, 2, &dec, &sign));
flyker> result: 1.12e+00
flyker> but need: 112
In what way does that behaviour hurt you(r application)?
Bye
Link with -lmsvcrt option