Comparing Decimal Numbers

Im trying to compare two numbers with decimals but its not working as expected.

a=1
b=1.1
if [ $a -eq $b ]
then echo "equal"
fi

When I do this it says that the numbers are equal. Ultimately Im using -le and -ge in the if statements but I tested with -eq for simplicity.
Any way to make this work? Im on Solaris 10.

you better match as strings...

a=1
b=1.1
if [ "$a" = "$b" ]
then echo "equal"
fi

Can I still use -le for 'less than or equal' and -ge for 'greater than or equal'?

if [ $a = $b ]

(Reference)