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);