Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

Calculation in Javascript or FormCalc "to the power"

Avatar

Not applicable
Hi,



How can I caculate the following expression using either formcalc or javascript. The Expression pow(x,y) doesn't seem to be recognized.



Expression: BSA.rawValue = pow(height.rawValue,0.45) * weight(weight.raxValue,0.72)



or BSA = x^0.45 * y^0.72



I couldn't find the answer in the forum.



Thank you for your help,



Olivio
2 Replies