I would first check the systems preferences to find the NumberFormatType and
thus the decimal separator.
Then I would search for this in the string with StrChr() and split it, thus
getting the integer part and the fraction part as two strings. These I would
feed to StrAtoI() and combine the results.
Karl-Koenig Koenigsson
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
- converting numbers to strings and back Siegbert Glodek
- Re: converting numbers to strings and back Werner Poschenrieder
- Re: converting numbers to strings and back Siegbert Glodek
- Re: converting numbers to strings and back Karl-K�nig K�nigsson
- Re: converting numbers to strings and back Dave Lippincott
- Re: converting numbers to strings and back DavidK
- RE: converting numbers to strings and back Hemanth M S
- Re: converting numbers to strings and back Dave Lippincott
