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