bash float bigger or smaller code example
Example: if float less than bash
#Just use bc command for operational calculation as follows:
if (( $(echo "$num1 > $num2" |bc -l) )); then
…
fi
#Just use bc command for operational calculation as follows:
if (( $(echo "$num1 > $num2" |bc -l) )); then
…
fi