From: dsp Date: Fri, 1 Nov 2019 04:50:32 +0000 (-0600) Subject: Fix temperature reporting on OpenBSD X-Git-Url: https://git.xinqibao.xyz/slstatus.git/commitdiff_plain/3fc2872d1b3e62903a4af49326d42c97c11911d5?hp=3fc2872d1b3e62903a4af49326d42c97c11911d5 Fix temperature reporting on OpenBSD On OpenBSD although the formula is correct due to integer division a temperature of for example 54 celsius appears as 5. this patch first treats it as a floating point op before retaining the non decimal digits ---