Not sure, but I'm unable to get this.
38/1024 = 0.0371
When i'm performing:
echo "scale=2; 15 / 0.0371" |bc
, it gives me result:
404.31
But, when i', performing :
echo 'scale=2; 15/(38/1024)' |bc
, the output is:
500.00
Why there's difference in results.
I need the output to be 404.31
from the second command.
Thanks.