Question5Replies113Views NagaSaiJ Member since 2018 15 posts Tech Mahindra Posted: 8 months agoLast activity: 8 months ago Solved Math.divide function is throwing errors.Hi Team,I have a requirement to calculate the Fee(in %) with the input of Fee and Loan Amount. Yes it's simple. But the Math.divide function is throwing errors in the Expression Builder.Formula used: Fee(in %) = (Fee*100)/LoanAmount.I've written the following expression in the Expression Builder.@Math.divide(.AdministrativeFee,.ProposedLoanAmount)When clicked on the Test at the Top right corner of the Expression Builder, it's showing error as "Cannot evaluate the expression: @Math.divide(.AdministrativeFee,.ProposedLoanAmount)" Both the fields are decimal only.Tried alternatives as:1. @Math.divide(toDecimal(.AdministrativeFee),toDecimal(.ProposedLoanAmount))2. @Math.divide(.AdministrativeFee,@Math.divide(.ProposedLoanAmount,1))But none worked.Could someone please help me with this..! Pega Customer Service for Financial Services Low-Code App Development Financial Services Senior System Architect ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Posted: 8 months agoRachit_Agarwal PEGA replied to NagaSaiJCan you please let us know the what is the property types for AdministrativeFee, ProposedLoanAmount. Posted: 8 months agoNagaSaiJ Tech Mahindra replied to Rachit_AgarwalHi Rachit_Agarwal,Both properties are of type Decimal Accepted Solution Posted: 8 months agoUpdated: 8 months agoRachit_Agarwal PEGA replied to NagaSaiJSo, it is coming because you did not mention the value in the divisor field. Mention a value for both the properties. Posted: 8 months agoNagaSaiJ Tech Mahindra replied to Rachit_AgarwalThanQ Rachit_Agarwal..!! Posted: 8 months agoRachit_Agarwal PEGA replied to NagaSaiJYou're welcome..