typo + genauigkeit

This commit is contained in:
Michael Grote 2021-06-08 15:08:00 +02:00
parent 537c6aae7f
commit f7ed979dfa

View file

@ -1,2 +1,2 @@
#!/bin/bash
curl -s -X GET "https://nightscout.mgrote.net/api/v1/entries/sgv?count=1&token=polybar-ae6fe2720f2c30f4" | awk '{$zw=$3 * 0.055} {printf "%.2f\n",$zw}'
curl -s -X GET "https://nightscout.mgrote.net/api/v1/entries/sgv?count=1&token=polybar-ae6fe2720f2c30f4" | awk '{$zw=$3 * 0.0555} {printf "%.1f\n",$zw}'