Arithmetic Operations

  • + 1 comment
    read exp_in
    echo "scale=10; $exp_in" | bc -l | awk '{printf "%.3f\n", $0}'