On Tuesday 14 February 2006 11:48, Oliver Elphick wrote:
> [snip]
>   sprintf(tmp, "%.4f", round((double) newqty * price * discpc) / 100.);
> [snip]
> orderimpl.cpp:84: implicit declaration of function `int round(...)'

this is indeed wierd. %.4f should expect a double, not an int. You could try 
%.4g or %.4e or ask in comp.lang.c++ or comp.lang.c in USENET..

thomas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to