Use E-notation for large powers of 10
This commit is contained in:

committed by
Aaron Marcher

parent
c28643ce5b
commit
682c0fedde
@ -44,6 +44,6 @@
|
||||
}
|
||||
|
||||
/* kelvin to celsius */
|
||||
return bprintf("%d", (temp.value - 273150000) / 1000000);
|
||||
return bprintf("%d", (temp.value - 273150000) / 1E6);
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user