improve: number display in benchmark result

This commit is contained in:
alikia2x (寒寒) 2025-04-02 23:32:26 +08:00
parent 984484cc3f
commit d808f36c58
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6

View File

@ -191,7 +191,7 @@
>{result.N.toString(2).length}</td
>
<td class="px-6 py-4 font-medium text-zinc-900 whitespace-nowrap dark:text-white"
>{Math.log10(Number(result.difficulty))}</td
>{Math.log10(Number(result.difficulty)).toFixed(2)}</td
>
</tr>
{/each}