# It's all about precision

**URL:** <https://forum.beeminder.com/t/its-all-about-precision/6835>\
**Category:** Bugabee\
**Created:** [June 1, 2020, 11:56am UTC](https://forum.beeminder.com/t/its-all-about-precision/6835 "2020-06-01T11:56:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![phi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/phi/32/2586_2.png) [@phi](https://forum.beeminder.com/u/phi)\
**Post date:** [June 1, 2020, 11:56am UTC](https://forum.beeminder.com/t/its-all-about-precision/6835/1 "2020-06-01T11:56:14Z")

</div>

We start with this innocent looking bit:

![image](https://us1.discourse-cdn.com/flex019/uploads/beeminder/original/2X/7/7f96042d5c8f78a727e9108744fe28b6e92b1612.png)

> Use “1” if you never want to see decimals.

they said. It will be fun they said.  
So I did:

![image](https://us1.discourse-cdn.com/flex019/uploads/beeminder/original/2X/4/4a13fb55abc75a6da8e2253bb5196d0b78bb2ef5.png)

I pressed the button, Beeminder told me in its usual bright green status indicator that the Goal was updated. Which…

 ![image](https://us1.discourse-cdn.com/flex019/uploads/beeminder/original/2X/3/32be6ce1e003b427bea4d321b33f89ae885fb44f.png)

… it was not, because we are back to 1.0:

![image](https://us1.discourse-cdn.com/flex019/uploads/beeminder/original/2X/8/85ad7b7533f5bb3402d581ef477fe93ceb4533c9.png)

---

<div class="post-metadata">

**Author:** ![apolyton](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/apolyton/32/1965_2.png) [@apolyton](https://forum.beeminder.com/u/apolyton)\
**Post date:** [June 1, 2020, 3:08pm UTC](https://forum.beeminder.com/t/its-all-about-precision/6835/2 "2020-06-01T15:08:11Z")

</div>

Shouldn’t that be “Use 0 if you don’t want to see decimals”? 🙂 🙂  
And what if you put 1.5 at the display precision field? What’s between 1 and 2 decimals? 😛

---

<div class="post-metadata">

**Author:** ![phi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/phi/32/2586_2.png) [@phi](https://forum.beeminder.com/u/phi)\
**Post date:** [June 1, 2020, 8:08pm UTC](https://forum.beeminder.com/t/its-all-about-precision/6835/3 "2020-06-01T20:08:17Z")

</div>

don’t get me started on that field. It’s a horrible user experience also because Safari really wants me to use one of the values I entered in the past. If I click in that field that shows `1.0` and then press backspace twice so I have `1`, then a context menu pops up with the history of previously entered values and auto selects its first entry which is `1.0` and if I don’t spot that quickly enough and hit enter, it will use the `1.0`.

And yeah, I don’t understand why it’s not just “number of decimal places” or “number of significant decimals” (though I’d prefer the latter) or just a printf format string: `"3.02f"` for instance would show values like `420.04`.

---

<div class="post-metadata">

**Author:** ![dreev](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/dreev/32/4311_2.png) [@dreev](https://forum.beeminder.com/u/dreev)\
**Post date:** [June 1, 2020, 9:31pm UTC](https://forum.beeminder.com/t/its-all-about-precision/6835/4 "2020-06-01T21:31:53Z")

</div>

Ah, yes, this is slightly buggy that it changes “1” to “1.0”! Thanks for reporting it!

And to clarify, it’s not the number of decimal places, it’s the amount to round to. So “1” for integery, “0.1” for one decimal place, etc. Theoretically that allows for “10” for rounding to the nearest 10 (negative one decimal places?) or “0.25” to round to the nearest quarter. And “0” should mean “show me full machine precision”. Not that the UI allows those, I don’t think. [Gory details on the blog](https://blog.beeminder.com/integers/)!

---

<div class="post-metadata">

**Author:** ![apolyton](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/apolyton/32/1965_2.png) [@apolyton](https://forum.beeminder.com/u/apolyton)\
**Post date:** [June 3, 2020, 5:14pm UTC](https://forum.beeminder.com/t/its-all-about-precision/6835/5 "2020-06-03T17:14:52Z")

</div>

> [@dreev](#):
>
> it’s not the number of decimal places, it’s the amount to round to. So “1” for integery, “0.1” for one decimal place, etc.

I would argue that 90% of people will understand that it’s the number of decimal places, because the help text says “determines how many decimals to display” 🙂

---

<div class="post-metadata">

**Author:** ![apolyton](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/apolyton/32/1965_2.png) [@apolyton](https://forum.beeminder.com/u/apolyton)\
**Post date:** [July 30, 2020, 3:09pm UTC](https://forum.beeminder.com/t/its-all-about-precision/6835/6 "2020-07-30T15:09:27Z")

</div>

![image](https://us1.discourse-cdn.com/flex019/uploads/beeminder/original/2X/a/a78d26ed123be550ccaa54a949a7bebfc003ecd7.jpeg)  
So this is new and interesting 🧐 🙂

---

<div class="post-metadata">

**Author:** ![dreev](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/dreev/32/4311_2.png) [@dreev](https://forum.beeminder.com/u/dreev)\
**Post date:** [October 28, 2020, 4:46am UTC](https://forum.beeminder.com/t/its-all-about-precision/6835/7 "2020-10-28T04:46:56Z")

</div>

Bee just fixed every complaint in this thread in one fell swoop! 😁[http://beeminder.com/changelog#3570](http://beeminder.com/changelog#3570)
