Comparing two floating point numbers
res=$(echo "0.5 > 0.25" | bc)
if res = 1, then 0.5 is greater than 0.25, else otherwise.