Commit 8d75f10
authored
rounding temperature as last operation
To avoid loosing precision the rounding should take place after the conversion from Centigrade to Fahrenheit.
I also believe that this conversion is present in one or some CP library, so it could be reused.
WARNING: code not tested
(well I compared the math on another board)1 parent ae29f01 commit 8d75f10
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
| 341 | + | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
344 | 344 | | |
345 | | - | |
| 345 | + | |
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| |||
0 commit comments