Closed bpetit closed 2 years ago
@odelcroi I think it is related to roundit
.
IMHO I think that it's a normal behavior.
Significant figure : 2 Impact of 1 ram stick : ram_stick_impact = 33,4
Round(ram_stick_impact) = 33 Round(2 ram_stick_impact) = Round(2 33,4) = Round(66.8) = 67
This behavior is due to the fact that each value is rounded only after the last calculation to avoid any lost of information. We won't reuse a rounded value in a calculation.
@odelcroi, @bpetit does it make sense to you ? Should we change this behavior ?
Bug description
GWP manufacturing impact is 67 for 2 RAM sticks, but verbose shows 33 for 1 RAM stick.
To Reproduce
Send this request :
Expected behavior
Final impact of 2 ram sticks is equal to 2x (impact of 1 ram stick).