use GB instead of GBytes, also only 2 digits

This commit is contained in:
Constantin Wildförster 2022-05-19 14:40:16 +02:00
parent f43c59c043
commit 75f427029b
No known key found for this signature in database
GPG key ID: 5DDDBFF28CC85AFB

View file

@ -25,7 +25,7 @@ Connected Peers
if (pow == units.length-1) break if (pow == units.length-1) break
} }
return parseFloat(temporal.toFixed(3)) + units[pow]+"Bytes" return parseFloat(temporal.toFixed(2)) + units[pow]+"B"
} }
</script> </script>
<section class="content"> <section class="content">