bash add floating point numbers code example Example: bash sum floating point numbers bc <<< '0.3333+0.6666' # Get sum of floating points in bash 0.99