ok, FlpAToF  returns a FlpDouble

//if I have 
double n1;
double n2;
double r1;

//how do I use
n1 = FlpAToF(FldGetTextPtr(FrmGetObjectPtr(fp,FrmGetObjectIndex(fp,1001))));
n2 = FlpAToF(FldGetTextPtr(FrmGetObjectPtr(fp,FrmGetObjectIndex(fp,1002))));
 
// so I can do 
r1 = n1 * n2;

-----------------
n1 and n2 are doubles, not FlpDouble, which is what FlpAToF returns

I do not understand the type convertion here.

is there a getFieldDouble command in the palm api? that returns a double?

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

Reply via email to