Use Numeric in JSON output

This commit is contained in:
jacob1123 committed 2022-02-06 22:12:48 +00:00
1 parent 5763409aa8
commit 487aa89f18
11 files changed
+258 -118

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
<script lang="ts">
import { defineComponent } from "vue";
export default defineComponent({
props: ["value"]
})
</script>
<template>
<span :class="value < 0 ? 'negative' : ''">{{value.toLocaleString(undefined, {minimumFractionDigits: 2,})}} €</span>
</template>