Update powerwall.sh

This commit is contained in:
2024-06-01 13:09:22 -05:00
parent 08655e11e0
commit 4e02e1011b

View File

@@ -915,7 +915,7 @@ fi
echo "${RPMn}"
RPM_tot=$(expr ${RPM_tot} + ${RPMn})
done
RPM=$(ROUND_NUMBER $(bc <<< "scale=0; {RPM_tot}/${#RPMs}"))
RPM=$(ROUND_NUMBER $(bc -l <<< "scale=0; {RPM_tot}/${#RPMs}"))
echo "AVG: ${RPM}"