Hello Klemen, Try searching through the archives for some string <-> double routines: GetStringFromDouble() GetDoubleFromString()
Adrien. Tuesday, August 9, 2005, 4:56:44 AM, you wrote: KD> Is there an option to write float into strprintf function? KD> I tried this, but i don't get the correct value when a>-100, because b=0 and should be -0. KD> Int8 a,b,c KD> a=-120; KD> b=a/100; KD> c=Abs(a%100); KD> 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/
