Use E-notation for large powers of 10
This commit is contained in:
parent
c28643ce5b
commit
682c0fedde
2 changed files with 3 additions and 3 deletions
components
|
@ -44,6 +44,6 @@
|
|||
}
|
||||
|
||||
/* kelvin to celsius */
|
||||
return bprintf("%d", (temp.value - 273150000) / 1000000);
|
||||
return bprintf("%d", (temp.value - 273150000) / 1E6);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue