<script setup>
const { $empty, $numtoString } = useNuxtApp();
const props = defineProps({
  value: Number,
});
</script>

<template>
  <span>{{ $empty(value) ? "-" : $numtoString(value) }}</span>
</template>
