Arithmetic Operations

  • + 0 comments

    !/bin/bash

    read -r expr

    value=expr" | bc -l)

    printf "%.3f\n" "$value"