Is there an option to write float into strprintf function?

I tried this, but i don't get the correct value when a>-100, because b=0 and 
should be -0.
Int8 a,b,c
a=-120;
b=a/100;
c=Abs(a%100);
StrPrintF(text,"%i,%i",b,c); 
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to