Hi. This short program has been puzzling me. the _fcvt function adds a 2 to my number during
conversion. I'm using Microsoft Visual C++ 4.0. What else can I use to convert to a string. I tried evct and I
get the same result. Thanks.
int sign, decimal_spot;
double startNo = 999999999999.9;
answer = _fcvt(startNo, 15, &decimal_spot, &sign) ;
// answer = 99999999999990020000000000
// the answer has a 2 in it, why? Is there a work around