> (long) (x + 0.5) > > I thought everyone learnt this trick in primary school? Or at home, > while programming in BASIC as a child?
It is funny that you say that, because now that I see that, I cannot believe I did not remember it. Thanks for reminding me. Actually, what I did was re-write it from scratch using the float manager to return the base 10 info (mantissa, sign, and exponent) and constructed the string that way. It works great. ~Brad -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
