Hi,

Are decimal numbers support by the MSP GCC?
Here is an example of my code.

int DEBUG(void)
{
        double i;
        i = 45.7;
        sprintf(debugBuff,"%g\r\n",i);
        return (0);
}

debugBuff = "45"

I would very much like to see 45.7 in the debugBuff:(

I'm using MSP GCC for windows.

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

Reply via email to