Arithmetic Operations

  • + 0 comments

    this works totally fine

    result=$(echo "$expression" | bc -l)
    printf "%.3f\n" "$result"