# How to get score as a decimal value?

**URL:** https://forum.makecode.com/t/how-to-get-score-as-a-decimal-value/35721
**Category:** Help
**Created:** [April 15, 2025, 8:26pm UTC](https://forum.makecode.com/t/how-to-get-score-as-a-decimal-value/35721 "2025-04-15T20:26:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Gl125371](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gl125371/32/29131_2.png) [@Gl125371](https://forum.makecode.com/u/Gl125371)
#### Post date: [April 15, 2025, 8:26pm UTC](https://forum.makecode.com/t/how-to-get-score-as-a-decimal-value/35721/1 "2025-04-15T20:26:04Z")

</div>

Hi, is there a way to show score as a decimal? I tried  
“Set score to 0.5”, but it just shows 0.

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [April 15, 2025, 8:35pm UTC](https://forum.makecode.com/t/how-to-get-score-as-a-decimal-value/35721/2 "2025-04-15T20:35:29Z")

</div>

nope, we convert score into an integer. you’ll have to create your own score ui like so:

> **[decimal-score](https://arcade.makecode.com/62836-19484-00003-65697)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

this example uses the `riknoll/arcade-fancy-text` extension for the text and `jwunderl/arcade-sprite-util` to round the number to two decimal places

---

<div class="post-metadata">

### Author: ![Gl125371](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gl125371/32/29131_2.png) [@Gl125371](https://forum.makecode.com/u/Gl125371)
#### Post date: [April 16, 2025, 4:39am UTC](https://forum.makecode.com/t/how-to-get-score-as-a-decimal-value/35721/3 "2025-04-16T04:39:38Z")

</div>

Ok. Thank you!
