You are viewing a single comment's thread. Return to all comments →
for fun :)
read expression result_l1=$( bc <<< "scale=4; ( $expression )" ) result_l2=${result_l1::-2}$((${result_l1: -2:2}+5)) echo ${result_l2::-1}
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 →
for fun :)