From d5a7fe010f9dd21965577a87793ccb24715a2955 Mon Sep 17 00:00:00 2001 From: Sirttas Date: Wed, 26 Jul 2023 09:31:26 +0200 Subject: [PATCH] green line --- src/reprocess/Reprocess.vue | 2 +- src/utils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reprocess/Reprocess.vue b/src/reprocess/Reprocess.vue index 314cdb2..69b484e 100644 --- a/src/reprocess/Reprocess.vue +++ b/src/reprocess/Reprocess.vue @@ -40,7 +40,7 @@ const send = async () => result.value = await reprocess(items.value, minerals.va - + {{ r.typeID }} {{ iskFormat(r.buy) }} {{ iskFormat(r.buy_reprocess) }} diff --git a/src/utils.ts b/src/utils.ts index 1f0d198..1a5b334 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,7 +1,7 @@ const iskFormater = new Intl.NumberFormat("is-IS", { style: "currency", currency: "ISK", - minimumFractionDigits: 0, + minimumFractionDigits: 2, }); export const iskFormat = (value: number): string => iskFormater.format(value);