Update powerwall.sh

This commit is contained in:
2024-06-01 13:11:47 -05:00
parent 37721bb651
commit 13ef424774

View File

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