[0.14.22] Inconsistent rounding

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Post Reply
Killerbee
Long Handed Inserter
Long Handed Inserter
Posts: 80
Joined: Thu Mar 17, 2016 8:44 pm
Contact:

[0.14.22] Inconsistent rounding

Post by Killerbee »

Just noticed some inconsistent behavior in-game.

For example when I take half a stack of roboports it will take 3.
When I have 1 stack of roboports in my hand and dump half it will dump 2 instead of 3.

Another example is a chest I have with 4 stack of belts.
When I take half I get 200 belts.
When I again take half I will get 96 belts instead of 100.

Hope this is enough information to solve this rounding inconsistency.

vtx
Fast Inserter
Fast Inserter
Posts: 150
Joined: Tue Jun 28, 2016 9:48 am
Contact:

Re: [0.14.22] Inconsistent rounding

Post by vtx »

Strange because I just test it and it's allways round-down either I take from a chest or placing into a chest.

From text when placing into a chest with 5 items : -2 robotports (3)
When taking item from chest with 5 items inside : +2 robotport (2)

What's between "()" are what is left in your inventory.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13209
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.22] Inconsistent rounding

Post by Rseding91 »

I can't reproduce, it shows exactly what it should every time I test it rounding towards zero.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Pending”