Activity Forums Salesforce® Discussions Is it good to do airthmetic calculations on VF page?

  • Ajit

    Member
    April 28, 2016 at 12:00 pm

    In my opinion doing airthmetic calculation on the page is good rather than doing it in controller because by using apex variable the page works fast, and it will decrease the line of codes of you controller and best thing is that if you are creating a large controller and a page and you have lot's of getters and setters variables in the controller due to which there can be a view state error on the page can arise so this can also be avoided using apex variables on the page.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos