<script setup lang="ts">
defineProps<{
  score: number | null
}>()
</script>
<template>
  <td style="text-align: right; padding-right: 0.25em;">
    <span v-if="score !== null" style="font-family: monospace; font-size: large;">
      {{ (score * 100).toFixed(1) }}%
    </span>
    <span v-if="score === null" style="font-size: small; font-style: italic;">No score</span>
  </td>
</template>
