Re: converting numbers to strings and back

2001-09-22 Thread Dave Lippincott
m-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, September 18, 2001 2:57 PM Subject: Re: converting numbers to strings and back > There is a built in way to convert floats to strings and back again. Look at > the header: > #include "FloatMgr.h&

RE: converting numbers to strings and back

2001-09-18 Thread Hemanth M S
check out Err FlpFToA(FlpDouble a, Char *s) ôô--o--2*--6--*--o--*--7--#--5--o--*--3--#--&--9--o--*--@--*--o--*--7--# --5--ââ Somewhere, something incredible is waiting to be known. > -- > From: Siegbert Glodek[SMTP:[EMAIL PROTECTED]] > Reply To: Palm Developer Forum >

Re: converting numbers to strings and back

2001-09-18 Thread DavidK
orum" <[EMAIL PROTECTED]> > Sent: Tuesday, September 18, 2001 7:36 AM > Subject: Re: converting numbers to strings and back > > > > I know StrIToA, but this gives me only INTEGERS, I need numbers with > > decimals. > > > > "Werner Poschenrieder&

Re: converting numbers to strings and back

2001-09-18 Thread Dave Lippincott
m-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, September 18, 2001 7:36 AM Subject: Re: converting numbers to strings and back > I know StrIToA, but this gives me only INTEGERS, I need numbers with > decimals. > > "Werner Poschenrieder" <[

RE: converting numbers to strings and back

2001-09-18 Thread Karl-König Königsson
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 resul

Re: converting numbers to strings and back

2001-09-18 Thread Siegbert Glodek
I know StrIToA, but this gives me only INTEGERS, I need numbers with decimals. "Werner Poschenrieder" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:62731@palm-dev-forum... > > StrAtoI(CharPtr str); > > Siegbert Glodek schrieb: > > > Hello all, > > I'm new in C and have to convert numbers from n

Re: converting numbers to strings and back

2001-09-18 Thread Werner Poschenrieder
StrAtoI(CharPtr str); Siegbert Glodek schrieb: > Hello all, > I'm new in C and have to convert numbers from number format to string and > back. > > Reason : > I work with Sybase-UltraLite on a database that stores some numerical values > (with decimals, not integers). I read the values as numeri