2001/04/2

Dear Listers

I need to enter a few floating point numbers, either in decimal 
or scientific notation to do some simple arithmetic. I thought, 
perhaps rather naively, that this would be fairly straight 
forward. I thought that a string could be entered in an editable 
field which then could be operated on with sscanf to unformat it. 
To my dismay I find that the string manager only supports 
StrPrintF and not the inverse. The Companion indicates that 
standard C functions might be used at the expense of larger code 
but also cautions that many "don't work" (page 101).

I also examined the calculator example but that seems to be 
incredibly complex for a simple task. 

Questions:

1) Can sscanf be used and if so what header would be needed?
2) Can anybody suggest a neat way to input floating point 
numbers?

Sincerely and thanks in advance
H.D. Valliant






-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to