Question3Replies756Views×Close popoverJustin Connell (JustinC2) PNC Financial Services Group PNC Financial Services Group US View ProfileSend Message JustinC2 Member since 2015 2 posts PNC Financial Services Group Posted: April 9, 2018Last activity: May 9, 2018Posted: 9 Apr 2018 13:23 EDTLast activity: 9 May 2018 5:37 EDT 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 agoPosted: 11 Apr 2018 8:43 EDT×Close popoverCarissa Wenhardt (CarissaW_GCS) PEGA Principal Software Solutions Engineer Pegasystems Inc. US View ProfileSend MessageCarissaW_GCS PEGA replied to JustinC2Do you have a return statement in your function code? return java.lang.Math.pow(base,power); Posted: 2 years agoPosted: 11 Apr 2018 9:11 EDT×Close popoverArun Kumar Mahanty (Arun_Mahanty) PEGA Principal Technical Solutions Engineer Pegasystems Inc. IN View ProfileSend MessageArun_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-data-transfrom Posted: 2 years agoPosted: 9 May 2018 5:37 EDT×Close popoveranand managoli (anandm42) Adqura Business Architect Adqura IN View ProfileSend Messageanandm42 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).