Skip to content

Commit 8240bef

Browse files
committed
Remove unnecessary precision on homepage
1 parent ad428b8 commit 8240bef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/web/html_home.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const char HTML_HOME[] PROGMEM = R"=====(
6161
</div>
6262

6363
<script>
64-
function formatValue(value, unit, decimals = 2) {
64+
function formatValue(value, unit, decimals = 1) {
6565
if (value === null || value === undefined) return 'N/A';
6666
return parseFloat(value).toFixed(decimals) + ' ' + unit;
6767
}

0 commit comments

Comments
 (0)