If condition

I am trying trying to find the percentage and compare it with a value.
But even if the condition is not true the also it is taking the true value not the else value.

x=`awk '{print $2}' out2.txt`
y=`awk '{print $4}' out2.txt`
z=$((100*$y/$x))
if [ ((100*$y/$x)) >90 ];then
  echo "high"   
else
  echo "low"
fi

Please suggest.

Please post what Operating System and version you are using and what Shell this is.

Assuming some sort of Posix Shell, this statement is faulty:
if [ ((100*$y/$x)) >90 ];then
It will create a file called "90" and always be "true".

To start with, try an integer comparison:

if [ $z -gt 90 ];then
if [ $z -gt 90 ]

Hope you're aware that variable 'z' will hold only the integer part of (100 * $y / $x)