I'm working on a code that allows to know the classification of a student through a note entered in shell linux, my problem is that I could not adjust the value to decimal places, if I use the "," the program runs but does not work good.
I attach my code
echo Este programa muestra si aprobó o no un estudiante
echo "Ingrese nota a"
read numeroa
#-----------------Numero---perdio-----------------------
if (( $numeroa >= 1 && $numeroa <=2,9));
then
echo perdio
fi
#-----------------Numero--Aprobó---------------------
if (($numeroa >= 3))
then
echo Aprobó
fi
exit 0
Here is the error when working with decimals: