fix: KÜ ISO 2 Nachkommastellen und RSL 3 Nachkommastellen

This commit is contained in:
ISA
2025-09-01 14:03:04 +02:00
parent 0c02e6f1c9
commit 57baca292a
6 changed files with 16 additions and 7 deletions

View File

@@ -340,7 +340,9 @@ const Kue705FO: React.FC<Kue705FOProps> = ({
>
{isoDisplayValue === "Abgleich"
? "ISO: Abgleich"
: `ISO: ${Number(isolationswert)} MOhm`}
: `ISO: ${Number(isolationswert)
.toFixed(2)
.replace(".", ",")} MOhm`}
</span>
{/* 3. Zeile: Schleifenwert, in Rot bei Schleifenfehler, sonst normal */}
<span
@@ -348,7 +350,9 @@ const Kue705FO: React.FC<Kue705FOProps> = ({
Number(kueAlarm2?.[slotIndex]) === 1 ? "text-red-500" : ""
}`}
>
{`RSL: ${loopDisplayValue} kOhm`}
{`RSL: ${Number(loopDisplayValue)
.toFixed(3)
.replace(".", ",")} kOhm`}
</span>
</div>
</div>