# Wrong weighted grades?

**URL:** <https://discuss.openedx.org/t/wrong-weighted-grades/9271>\
**Category:** Educators\
**Created:** [February 1, 2023, 4:38pm UTC](https://discuss.openedx.org/t/wrong-weighted-grades/9271 "2023-02-01T16:38:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anh\_Vu\_Nguy\_n](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/anh_vu_nguy_n/32/1740_2.png) [@Anh\_Vu\_Nguy\_n](https://discuss.openedx.org/u/Anh_Vu_Nguy_n)\
**Post date:** [February 1, 2023, 4:38pm UTC](https://discuss.openedx.org/t/wrong-weighted-grades/9271/1 "2023-02-01T16:38:35Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/6/6d49c6f0fa256ebbe996d99aa8fedf81fea54a02.png)  
I noticed that in the progress tab, in the Grade Summary section.  
As you can see in the picture I got a row with a grade of 70% and the weight is 5%. I assume that Openedx uses the Away From Zero rounding method. The weighted grade should be Math.Round(0.05 \* 0.7 \* 100) = 4%, but in the picture, you can see it is 3%.  
I think this is because of the floating point number problem, which 0.05 \* 0.7 \* 100 = 3.4999999999999996.  
Is this a bug or I misunderstood something?
