Page 1 of 1

Option to disable (advanced) math expression inputs

Posted: Wed Nov 06, 2024 11:15 am
by nixxquality
Ever since Factorio 1.1 added the confirm button (https://factorio.com/blog/post/fff-362) I got very used to typing numbers in the input boxes and pressing E to immediately confirm and close them.

While the math expression feature is nice, I haven't found an opportunity to use it and I really miss the E button. It would be nice if I could flip a switch in the options menu to limit number inputs to whatever basic stuff is required to free up E for confirming.

Re: Option to disable (advanced) math expression inputs

Posted: Wed Nov 06, 2024 4:50 pm
by Koub
I think what you're looking for is this option :
2024-11-06 17_47_46-Window.jpg
2024-11-06 17_47_46-Window.jpg (15.54 KiB) Viewed 477 times
It's in the "The rest" submenu in the Settings (Ctrl-Shift click on settings to get it).

Re: Option to disable (advanced) math expression inputs

Posted: Wed Nov 06, 2024 5:13 pm
by Hares
It would be nice to have "e" keep its reserved meaning for the input fields so I still could input "24k" but then press E to confirm.

Re: Option to disable (advanced) math expression inputs

Posted: Wed Nov 06, 2024 5:26 pm
by mrvn
Hares wrote: Wed Nov 06, 2024 5:13 pm It would be nice to have "e" keep its reserved meaning for the input fields so I still could input "24k" but then press E to confirm.
How do you input 5e+5 then?

Re: Option to disable (advanced) math expression inputs

Posted: Wed Nov 06, 2024 5:32 pm
by BlueTemplar
As '500k' ? (Or '0.5M'.)

Re: Option to disable (advanced) math expression inputs

Posted: Wed Nov 06, 2024 5:37 pm
by Hares
mrvn wrote: Wed Nov 06, 2024 5:26 pm
Hares wrote: Wed Nov 06, 2024 5:13 pm It would be nice to have "e" keep its reserved meaning for the input fields so I still could input "24k" but then press E to confirm.
How do you input 5e+5 then?
Exponential notation is not useful in Factorio. It's used for numbers above 1 billion which Factorio does not have under normal conditions - at least for the inputs.

Re: Option to disable (advanced) math expression inputs

Posted: Wed Nov 06, 2024 7:59 pm
by nixxquality
Koub wrote: Wed Nov 06, 2024 4:50 pm I think what you're looking for is this option :
2024-11-06 17_47_46-Window.jpg
It's in the "The rest" submenu in the Settings (Ctrl-Shift click on settings to get it).
Thank you very much, this is exactly what I needed.

Re: Option to disable (advanced) math expression inputs

Posted: Wed Nov 06, 2024 8:03 pm
by Tinyboss
mrvn wrote: Wed Nov 06, 2024 5:26 pm How do you input 5e+5 then?
Not so relevant since you just turned it off, haha, but you don't need the +. Just 5e5 means the same thing. Not only in Factorio, it's pretty standard everywhere.

Re: Option to disable (advanced) math expression inputs

Posted: Fri Dec 27, 2024 11:35 pm
by Hares
Tinyboss wrote: Wed Nov 06, 2024 8:03 pm
mrvn wrote: Wed Nov 06, 2024 5:26 pm How do you input 5e+5 then?
Not so relevant since you just turned it off, haha, but you don't need the +. Just 5e5 means the same thing. Not only in Factorio, it's pretty standard everywhere.
According to my experience, Ae+B is the most used form. AeB is used way less often.

See also: 125225: [2.0.28] Exponential notation does not parse "Ae+B" form