Question3Replies678Views JustinC2 Member since 2015 2 posts PNC Financial Services Group Posted: 2 years agoLast activity: 2 years 4 months ago Closed Power FunctionI am trying to create a function that raises a base to a power. I have come across the following link:https://pdn.pega.com/comment/105854I have tried to add the function to the library as described, but am receiving an error that "This method must return a result of type Double". Any help would be greatly appreciated Data Integration Java and Activities ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 2 years agoCarissaW_GCS PEGA replied to JustinC2Do you have a return statement in your function code? return java.lang.Math.pow(base,power); Posted: 2 years agoArun_Mahanty PEGA replied to JustinC2You can go through below discussion as a reference let us know if it helps https://pdn.pega.com/community/product-support/question/power-function-… Posted: 2 years agoanandm42 Adqura replied to JustinC2I had similar requirements and somehow the expression builder doesn't show up pow(x,y) function. But it is available for the strategies and can be accessed directly as @pow(a,b).