We are getting an unexpected output while running the following codes
PYLINT_SCORE=10.00
THRESHOLD=7
if [[ $PYLINT_SCORE < $THRESHOLD ]]; then
echo "Your Code is not meet the threashold value";
else
echo "Your Code meet the threashold value";
fi;
Here we are getting "Your Code is not meet the threashold value"
But if run the following code we are getting the correct output like "Your Code meet the threashold value"
PYLINT_SCORE=9.99
THRESHOLD=7
if [[ $PYLINT_SCORE < $THRESHOLD ]]; then
echo "Your Code is not meet the threashold value";
else
echo "Your Code meet the threashold value";
fi;