How can we use the exponent into views?

By: Maël ANJOURE | Asked: 02/10/2023
ForumsCategory: General questionsHow can we use the exponent into views?
Maël ANJOURE asked 2 years ago
Hello hello,   I need to make some calculs with the data sent through my website, but how can I use the exponent operator?  I tried ** and ^ but no one works. I also found the "Math.pow" function, but it doesn't work into the view, or I don't know how can I use it?   Thank for your help! :)    Have a great day ;)
1 Answers
Victor Font answered 2 years ago
To do math calculations in a view, create your own shortcode to do it in PHP, or use jQuery to calculate the values when the view displays.

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
crossarrow-right