diff --git a/plugins/rpi/rpi_temp b/plugins/rpi/rpi_temp index 9f38b802..8eff2283 100755 --- a/plugins/rpi/rpi_temp +++ b/plugins/rpi/rpi_temp @@ -28,6 +28,6 @@ fi # values TEMP_MILLI_C=$(cat /sys/class/thermal/thermal_zone0/temp) -echo thermal_zone0.value $( echo "$TEMP_MILLI_C / 1000" | bc ) +echo thermal_zone0.value $( echo "scale=3; $TEMP_MILLI_C / 1000" | bc ) exit 0