FlpDouble?
just use double as for when the FlpFuncs need it, do this: say you have a double x. to Flp give: *((FlpDouble*)&x) On 12/19/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > ok I think I am getting this... now how to I multiply the values > together? Here is what I have so far... > > FlpDouble n1; > FlpDouble n2; > FlpDouble r1; > > // get the number1 value > frmP = FrmGetActiveForm(); > n1 = getFieldFloat(frmP,1000); > > // get the number2 value > n2 = getFieldFloat(frmP,1003); > > // calculate the result > r1 = n1 * n2; > > error on the last line... r1 = n1 * n2; > invalid operands to binary * > > is there somewhere that there is a simple example of something like this > where you enter two numbers, not just ints, but floats too and then do some > math like multiply or divide or raise one of the values to the 3rd power > then multiply by the other, ending with the result going to the next form > page. > > thanks in advance > -- > For information on using the PalmSource Developer Forums, or to > unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- Best Regards, Dmitry Grinberg Software Engineer, http://PalmPowerups.com (847) 226 9295 AIM: DmitryGrinberg MSN: [EMAIL PROTECTED] ICQ: 165589894 Y! IM: dmitrygr2003 -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
