# Rounding bug with "Compute optimal retention" still persists in the stable release

**URL:** <https://forums.ankiweb.net/t/rounding-bug-with-compute-optimal-retention-still-persists-in-the-stable-release/43213>\
**Category:** Help\
**Created:** [April 4, 2024, 8:23pm UTC](https://forums.ankiweb.net/t/rounding-bug-with-compute-optimal-retention-still-persists-in-the-stable-release/43213 "2024-04-04T20:23:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [April 4, 2024, 8:23pm UTC](https://forums.ankiweb.net/t/rounding-bug-with-compute-optimal-retention-still-persists-in-the-stable-release/43213/1 "2024-04-04T20:23:37Z")

</div>

I previously reported this during beta-testing, but this still happens in 24.04, stable release.

 ![1](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/a/c/aca7eae5b5073c18292ef34ffafc3b7466ccf961.png)

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [April 5, 2024, 11:14am UTC](https://forums.ankiweb.net/t/rounding-bug-with-compute-optimal-retention-still-persists-in-the-stable-release/43213/2 "2024-04-05T11:14:41Z")

</div>

0c02c669c1682589f8b61ba9ce90a8b8bff97c2c fixed it in my tests, but it seems not to cover all cases. I’ll try again.

---

<div class="post-metadata">

**Author:** ![Expertium](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/expertium/32/24176_2.png) [@Expertium](https://forums.ankiweb.net/u/Expertium)\
**Post date:** [April 5, 2024, 12:39pm UTC](https://forums.ankiweb.net/t/rounding-bug-with-compute-optimal-retention-still-persists-in-the-stable-release/43213/3 "2024-04-05T12:39:48Z")

</div>

Something I realized just now is that in the “Desired retention” field, a comma is used as a decimal separator, but in the “Predicted optimal retention” field, a dot is used. In my Windows settings, a comma is used. I’m not sure if it matters in this case, but I just wanted to point it out.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [April 6, 2024, 10:34am UTC](https://forums.ankiweb.net/t/rounding-bug-with-compute-optimal-retention-still-persists-in-the-stable-release/43213/4 "2024-04-06T10:34:31Z")

</div>

I don’t think it matters in this case - we’re just showing the numbers in a different way.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)\
**Post date:** [May 6, 2024, 10:34am UTC](https://forums.ankiweb.net/t/rounding-bug-with-compute-optimal-retention-still-persists-in-the-stable-release/43213/5 "2024-05-06T10:34:55Z")

</div>

Closed on May 6, 2024, 10:34am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
