I did meet thousands separator, but have thought how to handle yet.
Maybe just delete the ',' in the string ? the code could be like:
CharPtr thousand;
VoidHand recTextMH;
CharPtr recText, recTextM;
UInt x=0, y=0, i=0, j=0;
if(recText)
y=StrLen(recText);
if(y!=0)
{
if(StrStr(recText, ',')
{
thousand =StrStr(thousand, recText);
x=StrLen(thousand);
recTextMH=MemHandleNew(y);
recTextM=MemHandleLock(recTextMH);
for(i=0; i<y-x; i++)
recTextM[i]=recText(i);
for(j=y-x; j<y; j++ )
recTextM[j]=recText[j+1];
MemHandleUnlock(recTextM);
FlpAToF(recTextM)
}
else
{
FlpAToF(recTextH)
}
}
If you have simple way to do, would you please let me know?
I appreciated your information.
Steve
-----Original Message-----
From: Elia Freedman [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 31, 2000 10:13 AM
To: Palm Developer Forum
Subject: RE: Eric, please help on FlpAToF(Char * s) function!
It won't handle thousands separators, either. Glad I could help?!
Elia
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 28, 2000 12:02 PM
To: Palm Developer Forum
Subject: RE: Eric, please help on FlpAToF(Char * s) function!
FlpAToF(recText)
will not strip off the space!
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html