You are viewing a single comment's thread. Return to all comments →
There is a $ before the parenthesis that is being interpreted in the comment
printf "%.3f" $(echo $exp | bc -l)
Why do you need the "$" before the echo part?
Arithmetic Operations
You are viewing a single comment's thread. Return to all comments →
There is a $ before the parenthesis that is being interpreted in the comment
Why do you need the "$" before the echo part?