intensity.math to calculate an inverted percentage
See original GitHub issueHi,
I couldn’t find something that helps me, that’s why I am asking. I’d like to use intensity.math to calculate an inverted percentage.
Say, when I get 60% it shall calculate 100-60=40
. So I tried this statement ${intensity.math(100-${intensity.percent}}
As this doesn’t do the trick, I was looking in the documentation and saw something with “X” so I tried 100-X
, which wasn’t bringing a good result, either.
So I wonder what “X” is and I also would love to get some hint on how to find a solution for the inverted percentage calculation.
Many thanks in advance.
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (5 by maintainers)
Top Results From Across the Web
How to calculate a reverse percentage? What is the formula
Just add the percentage increase to 100, divide 100 by it, then multiple by the final number to get the original number. Example....
Read more >Calculate the Intensity When dB (Decibel) Value is Given
This video calculates the intensity value for a sound when the decibel db is given. Introductory General Physics IProf. Greg Clements.
Read more >Sound Intensity Level in Decibels & Distance - Physics Problems
This physics video tutorial provides a basic introduction into sound intensity level in decibels. it explains how to calculate the sound ...
Read more >Sound Intensity Physics Problems & Inverse Square Law ...
This physics video tutorial provides a basic introduction into sound intensity and the inverse square law. It explains how to solve physics ...
Read more >Reverse Percentages Explained - Worked Example 2 - YouTube
We learn a step by step method for solving reverse percentage problems. We work through a reverse percentage decrease problem in three ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@peterosburg Sorry, yes ‘X’ is used in the code to insert the value received.
Is this resolved?