Darkempire78/OpenCalc

Add double/triple zero button

Closed this issue · 9 comments

Default calculator on my phone includes a double zero button, which comes handy when operating with hundreds and thousands.

IMG_20240623_090556

That could be a nice addition to your calculator.
If this means rearranging the whole keyboard layout, you might as well activate an option that let the user choose whether to enter a double or triple zero simply by long-pressing the zero button.

Thank you for considering this.

Can I work on it?

Screenshot_20240711_231552_Calculator.png

I made it like this. It works perfectly. What do you think @afterdark1880 @Darkempire78

@subhajit-rajak To be honest the layout looks very weird. Perhaps that other calculators have better layout with 00 and 000

@Darkempire78 I agree, the Oneplus devices have double zero button but they do not have the parenthesis button in the main tab. It could be included in the scientific mode. What do you think?

I mean it like this...
Screenshot_20240711_234235_Calculator.png

I made it like this. It works perfectly. What do you think @afterdark1880 @Darkempire78

@subhajit-rajak Thank you for your contribution. It does look a bit weird. Maybe it's a matter of replacing instead of adding buttons, isn't it? Or, as I suggested first, a long press on the 0 button could show double and triple-0 options.

I agree, long press seems to be a good way to implement that

Hi!👋 @Darkempire78 I have opened a pull request for this issue check here

Done