My shell script look like this ,
sOneCount =5
sZeroCount=12
aa=`expr $sOneCount / $sZeroCount`
successRate=`expr $aa \* 100
since 5/12 results in 0.416 and then 0.416*100 it should give 41.6 but i am getting "successRate" as 0. Its rounding off the float value.
I want the final result should be 41 like this, please help me in this Thanks