System cost index not being calculated correctly?

I’m not sure if this is a known bug. Apologies if it is.

It seems that the System Cost index calculation (Job Gross Cost) is a bit off. For example, in the case of a Micro Auxiliary Power Core I with an estimated value of 355 178 ISK It should be 6854 ISK (or 6855 rounded), but shows as 6864 ISK. 9-10 ISK feels too far off to be a rounding error :thinking:.

Moreover, this seems to be add up for each consecutive run, causing non-trivial margin errors.

Example image with 900 units of Micro Auxiliary Power Core I

One speculation is that that the system cost index has a float value of something like 0.019324, and that it’s not rounding the value when computing the costs, only when displayed.

I checked the /industry/systems ESI endpoint, which does respond with rounded values.

Expected Behaviour:

The system cost index is calculated more exactly with the percentage value displayed in the UI (rounded to 2 decimals).