Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello All,
I have the following requirement
Actual Value | % | Desired Value | Difference |
---|---|---|---|
800 | 80 % | 1000 | 200 |
100 | 83 % | 120 | 20 |
7 | 70 % | 10 | 3 |
5 | 50 % | 10 | 5 |
I would like to generate 'Desired Value' and 'Difference' using Actual Value and %
TIA
Sai.
It seems to be a simple math, like:
Value*100/PurgeChar(Percent, '%') as Desired
It seems to be a simple math, like:
Value*100/PurgeChar(Percent, '%') as Desired