style: truncate heading degree decimal
This commit is contained in:
parent
a82bc5a04a
commit
fabbd67f77
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
<div class="flex flex-col gap-2 text-center transition-all">
|
<div class="flex flex-col gap-2 text-center transition-all">
|
||||||
<p class="text-xl font-medium">
|
<p class="text-xl font-medium">
|
||||||
Heading {getDirection(orientation)} ({orientation}°)
|
Heading {getDirection(orientation)} ({orientation.toFixed(2)}°)
|
||||||
</p>
|
</p>
|
||||||
<p class="text-lg font-medium">
|
<p class="text-lg font-medium">
|
||||||
{getAcceleration(accResolved)} ({mpss2knps(accResolved).toFixed(2)}
|
{getAcceleration(accResolved)} ({mpss2knps(accResolved).toFixed(2)}
|
||||||
|
|
Loading…
Reference in a new issue