Add more decimal places in assembler tooltip

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

TheBlok
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Oct 22, 2024 2:28 pm
Contact:

Add more decimal places in assembler tooltip

Post by TheBlok »

So I’ve noticed that the tooltip for items per second only shows up to two decimal places, and it’s kind of messing with my calculations. It rounds the numbers, which makes it harder to get an accurate idea of what’s going on when I’m trying to plan things out.

Image

So, in the image, you can see that blue science is shown as being produced at a rate of 0.06/s, but that’s not accurate. The real value is 24s/0.75 = 32, which gives 32s/2 items per craft, resulting in 16 seconds per item. Finally, 1 item per 16 seconds equals 0.0625/s.

I’ve looked around and couldn’t find any option to change the number of decimal places, unfortunately. Would it be possible to add a feature for that? I think it’d help a lot with more precise planning and make things a bit clearer for people who like to get into the nitty-gritty details.
User avatar
xargo-sama
Inserter
Inserter
Posts: 49
Joined: Mon Jun 05, 2023 1:04 pm
Contact:

Re: Add more decimal places in assembler tooltip

Post by xargo-sama »

Hi,

you are correct. There is no option to increase the number of decimal places.

I will be upfront about this, unless someone shows me a compelling way to fit more digits in there without bleeding out of the icon space, we are probably not going to change this. My stance is that this tooltip is supposed to give you a general understanding of the rates you are going for, whether your belts can supply or carry enough items to keep the production running after bonuses are applied. The case of minuscule amounts trickling out is not so crucial.

That being said, I will consider showing one more digit for numbers this small by losing the zero before dot. But it won't be any time soon, because the icon class will need some more code to do that.
pleegwat
Filter Inserter
Filter Inserter
Posts: 278
Joined: Fri May 19, 2017 7:31 pm
Contact:

Re: Add more decimal places in assembler tooltip

Post by pleegwat »

Switching to per minute would allow more significant digits, but would not make comparing to other recipes (which are not shown in per minute) any simpler.
stokastic
Manual Inserter
Manual Inserter
Posts: 3
Joined: Mon May 13, 2019 3:41 am
Contact:

Add an option to increase resolution of crafting rate tooltip

Post by stokastic »

In the tooltip for assemblers, approximate crafting rates are shown to two decimal places. I am proposing an option that would allow increasing this to 3 or 4 decimal places.
10-30-2024, 14-05-18.png
10-30-2024, 14-05-18.png (27.72 KiB) Viewed 266 times
Koub
Global Moderator
Global Moderator
Posts: 7784
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Add more decimal places in assembler tooltip

Post by Koub »

[Koub] Merged into an older thread with the same suggestion.
Koub - Please consider English is not my native language.
Tinyboss
Filter Inserter
Filter Inserter
Posts: 467
Joined: Sun Nov 16, 2014 12:11 pm
Contact:

Re: Add more decimal places in assembler tooltip

Post by Tinyboss »

xargo-sama wrote: Tue Oct 22, 2024 3:16 pmThat being said, I will consider showing one more digit for numbers this small by losing the zero before dot. But it won't be any time soon, because the icon class will need some more code to do that.
That is the perfect answer IMO. It means we can always have three significant figures, regardless of magnitude (within reason, haha).
Nidan
Filter Inserter
Filter Inserter
Posts: 267
Joined: Sat Nov 21, 2015 1:40 am
Contact:

Re: Add more decimal places in assembler tooltip

Post by Nidan »

Tinyboss wrote: Fri Nov 01, 2024 4:23 pm It means we can always have three significant figures, regardless of magnitude (within reason, haha).
I approve of always having three significant digits, but why not recycle the pattern we have for large numbers? Ideally I'd like three digits, potentially with a decimal point, followed by an SI prefix. 0.0625 would then be rendered as 62.5m.
GrumpyJoe
Filter Inserter
Filter Inserter
Posts: 491
Joined: Fri Apr 06, 2018 7:10 pm
Contact:

Re: Add more decimal places in assembler tooltip

Post by GrumpyJoe »

xargo-sama wrote: Tue Oct 22, 2024 3:16 pm Hi,

you are correct. There is no option to increase the number of decimal places.

I will be upfront about this, unless someone shows me a compelling way to fit more digits in there without bleeding out of the icon space, we are probably not going to change this. My stance is that this tooltip is supposed to give you a general understanding of the rates you are going for, whether your belts can supply or carry enough items to keep the production running after bonuses are applied. The case of minuscule amounts trickling out is not so crucial.

That being said, I will consider showing one more digit for numbers this small by losing the zero before dot. But it won't be any time soon, because the icon class will need some more code to do that.
dont wanna open a new thread about it, cos its 2 days back i noticed and i dont wanna start Steam for it to confirm

100items/stack
25items pers rocket
calculates to 0.3 stacks per rocket.
because 0.25 gets rounded up.

try to be consistant with decimal places at least :mrgreen:
coppercoil
Filter Inserter
Filter Inserter
Posts: 502
Joined: Tue Jun 26, 2018 10:14 am
Contact:

Re: Add more decimal places in assembler tooltip

Post by coppercoil »

xargo-sama wrote: Tue Oct 22, 2024 3:16 pm I will be upfront about this, unless someone shows me a compelling way to fit more digits in there without bleeding out of the icon space
Exact numbers (per second and per minute) can be showed elsewhere, say, by pressing a button here:
ExactNumbers.jpg
ExactNumbers.jpg (44.83 KiB) Viewed 165 times
Post Reply

Return to “Ideas and Suggestions”