Calculate percentage of some value

Hi All,

What is the correct approach to check percentage of a particular value falls within greater 75% of another value or if its within range (Greater than 25% - 75%) or (Less than 25%)

For example, I want to check if $3,557,999.01 is greater than 75% of $1,200,000.00 or if it falls within range (Greater than 25% - 75%) or if it falls within (Less than 25%**)

Hello @dutta.marina

You could multiply your value for comparison with a decimal.

Check if greater than 75%

If 3,557,999.01>(1,200,000*0,75)

Check if in range 25-75%

If 3,557,999.01>(1,200,000*0,25) AndAlso 3,557,999.01<(1,200,000*0,75)

Check if less than 25%

If 3,557,999.01<(1,200,000*0,25)

Regards
Soren

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.