We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Bash doesn't directly support such operation for Floating-point numbers. You'll need external tools such as awk, bc to get the job done. I would rather keep the code simple in such cases.
Compute the Average
You are viewing a single comment's thread. Return to all comments →
Bash doesn't directly support such operation for Floating-point numbers. You'll need external tools such as awk, bc to get the job done. I would rather keep the code simple in such cases.