Finding hypotenuse

Couple questions…
1. I am going to need to be able to add data to my wordpress database which is getting displayed in the CFF formulas. What version of the plugin will I need to purchase?
2. I’m having quite an issue using the sin, cos and tan functions. At the url given above I am using the following code but am getting the wrong results. Any assistance would be greatly appreciated.
(function(){ if(0<fieldname6 && 0<fieldname2) return PREC(SQRT(POW(fieldname6,2) + POW(fieldname2,2)),2);
if(0<fieldname8 && 0<fieldname6) return prec(fieldname6 / sin(90fieldname8),2);
if(0<fieldname2 && 0<fieldname8) return prec(fieldname2 / cos(fieldname8),2); })()
The page I need help with: [log in to see the link]
Viewing 4 replies  1 through 4 (of 4 total)
Viewing 4 replies  1 through 4 (of 4 total)
 The topic ‘Finding hypotenuse’ is closed to new replies.