Rounding calculated Values

By: Adam Hollett | Asked: 03/29/2024
ForumsCategory: General questionsRounding calculated Values
Adam Hollett asked 4 weeks ago
I have a calculation form that takes width in inches and height in inches.  It then converts to feet and figures out square feet.  That works.  What I need however is to ALWAYS no matter how little over to round UP to the next square foot.  Our material is charged by square foot and any amount over requires an up charge as the material is still used.  Not sure how to do that.  Any help would be amazing.  Thanks in advance.
1 Answers
Rob LeVineRob LeVine answered 3 weeks ago
Instead of using a formidable calculation, use a custom shortcode and do the math in the PHP program.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community