Hello,
Can you please suggest me the syntax for doing floating point comparison in shell script. I am using bash.
I would ideally like to use as part of if statement
here is a small code snippet :
key1="12.3" result="12.2"
if (( $result <= $key1 ))
then
# some code here
fi
thanks
Kiran