[0.98b Bug] Negative zero value in trade

This might just be a rounding problem, but it's annoying. Trying to trade a tech treaty, it told me that the perceived value was -37. So I added 37 gildar to sweeten the deal, and now the perceived value is -0. Even though the value is 0, the trade still won't go.

3,501 views 12 replies
Reply #1 Top

Also seen the value "just" being 0 without a trade being possible, on the same screen.

Probably some hidden decimals.

Sincerely
~ Kongdej

Reply #2 Top

This problem still exists in .98b.  I've edited the original post to change the release level.

Reply #3 Top

Quoting Publius, reply 2
This problem still exists in .98b.  I've edited the original post to change the release level.
End of Publius's quote

Please take note about whether you have the sovereign background that improves trading, and/or how much influence you had in certain situation.

My gut tells me its the fault of influence affecting trading values.

I still see it too

Sincerely
~ Kongdej

Reply #4 Top


Sounds like this can be fixed with a floor function.

Reply #5 Top

Quoting Kongdej, reply 3
Please take a not about whether you have the sovereign background that improves trading
End of Kongdej's quote

When I saw it in beta 4 it was with a custom sovereign who did not have any trading buffs.  In beta 5 I saw it with Procipinee.

Reply #6 Top


I think If you add one more gildar all will be well

Reply #7 Top

That's true, cugeldaclever, but I still consider it a bug. |-)

Reply #8 Top

This bug is still in .983.

Reply #9 Top

Yup... I've seen it as well.

Reply #10 Top

This bug is still in .992.

Reply #11 Top

Can we get a floor function here ;)

Reply #12 Top

Quoting parrottmath, reply 12
Can we get a floor function here
End of parrottmath's quote

I want a floor to move around on as well.

Atleast it should say "-1" instead of "-0".. that would feel better

Sincerely
~ Kongdej