function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
StaciStaci 

calculate fields in vf page

I have a button that renders a pdf.  In the pdf is a finance table, calculating the financing cost with different percentages for money down (5%, 10% & 20%)
I have 4 cost fields(tax, warranty, list price, part costs) that have to added to get the the total cost of an item.  I then need to take 5%, 10% and 20% of that total cost and show the result.  Can I accomplish this in a vf page or do I need to use the controller?  Any help with examples would be great.