I have the following :
Code: Select all
var Temp3 = ultemps[ULTMP_TMP + 3]/10;
var Temp3c = (((Temp3 - 32)*5)/9);
.
.
ctx.fillText(Temp3 + "F " + Temp3c + "C", 200, 132);
I have tried:
Code: Select all
var Temp3 = ultemps[ULTMP_TMP + 3]/10;
var Temp3c = round(((Temp3 - 32)*5)/9);
Code: Select all
var Temp3 = ultemps[ULTMP_TMP + 3]/10;
var Temp3c = math.round(((Temp3 - 32)*5)/9);