You are viewing a single comment's thread. Return to all comments →
This works
read X printf "%.3f" $(echo "scale=4;$X" | bc)
Seems like cookies are disabled on this browser, please enable them to open this website
Arithmetic Operations
You are viewing a single comment's thread. Return to all comments →
This works