# Allow for decimals in point values

**URL:** https://meta.discourse.org/t/allow-for-decimals-in-point-values/267582
**Category:** UX
**Tags:** gamification
**Created:** [May 24, 2023, 8:17pm UTC](https://meta.discourse.org/t/allow-for-decimals-in-point-values/267582 "2023-05-24T20:17:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)
#### Post date: [May 24, 2023, 8:17pm UTC](https://meta.discourse.org/t/allow-for-decimals-in-point-values/267582/1 "2023-05-24T20:17:08Z")

</div>

@Falco It doesn’t seem to allow for decimal values for points. How difficult would it be to allow such a thing? The editor allows you to enter and save the value, but when you refresh the page it reverts or goes to 0.

When entering a decimal value in the UI, it seems the PUT request is accepted with 200 OK but the value still isn’t saved.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [May 24, 2023, 8:20pm UTC](https://meta.discourse.org/t/allow-for-decimals-in-point-values/267582/2 "2023-05-24T20:20:35Z")

</div>

> [@jordan-violet](#):
>
> @Falco It doesn’t seem to allow for decimal values for points. How difficult would it be to allow such a thing? The editor allows you to enter and save the value, but when you refresh the page it reverts or goes to 0.

For points? Or for the multiplier in Site Settings?

---

<div class="post-metadata">

### Author: ![jordan-violet](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jordan-violet/32/281428_2.png) [@jordan-violet](https://meta.discourse.org/u/jordan-violet)
#### Post date: [May 24, 2023, 8:21pm UTC](https://meta.discourse.org/t/allow-for-decimals-in-point-values/267582/3 "2023-05-24T20:21:08Z")

</div>

For the point values in the plugin settings.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [May 25, 2023, 6:21pm UTC](https://meta.discourse.org/t/allow-for-decimals-in-point-values/267582/4 "2023-05-25T18:21:23Z")

</div>

Ohhh for the weights. While allowing only there would be doable, we are storing only integers, so the system will be truncating score during many steps of the calculation, which would make the system harder to validate.

For the moment I would recommend using larger numbers to accomplish the same effect, where instead of having let’s say

- Like Given 0.5
- Like Received 1

You can use

- Like Given 5
- Like Receives 10

and so on.

Works fine for Final Fantasy 😇
