[comp.sys.mac.programmer] str2num

jhsu@neon.Stanford.EDU (Jeffrey H. Hsu) (05/30/91)

Would someone please help me use these routines? They are declared in 
SANE.h as

extended str2num(void *);
void num2str(decform *, extended, void *);

but I haven't been able to get the results I want. Basically, all I want to
do is grab text out of a TE box and get the floating point value of it. Also,
I'd like to take a floating point number and display it in a TE box.

It seems like such a simple task yet I can't get it to work.


Thanks,
Jeff