Use E-notation for large powers of 10

This commit is contained in:
Laslo Hunhold authored and Aaron Marcher committed 2018-05-27 19:53:36 +02:00
1 parent c28643ce5b
commit 682c0fedde
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -44,6 +44,6 @@
}
/* kelvin to celsius */
return bprintf("%d", (temp.value - 273150000) / 1000000);
return bprintf("%d", (temp.value - 273150000) / 1E6);
}
#endif