Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Display a minus sign instead of a hyphen #22

Open
1 task done
Korb opened this issue Jun 13, 2023 · 7 comments
Open
1 task done

[Feature Request]: Display a minus sign instead of a hyphen #22

Korb opened this issue Jun 13, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@Korb
Copy link

Korb commented Jun 13, 2023

Contact Details

Comment on this Issues

What would you like to see?

Calculator — minus

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Korb Korb added the enhancement New feature or request label Jun 13, 2023
@danger-ahead
Copy link
Collaborator

@Korb if you would like, please go ahead and open a PR with the change.

@ILoveScratch2
Copy link

I think they're the same on the keyboard

@Korb
Copy link
Author

Korb commented Jan 14, 2025

I think they're the same on the keyboard

Hardware (but not software, on-screen) keyboards do not have minus symbols, nor do they have en dash, em dash, horizontal bar, figure dash, and many other symbols. How does this prevent us from using these symbols? In the calculator interface, the word minus may be written on the button - this will not mean that the user needs to type the word minus to insert the corresponding symbol.

@ILoveScratch2
Copy link

So which character is a minus sign and which character is a hyphen? Can you type it out?

@ILoveScratch2
Copy link

So do you want the button to have "minus" written on it?

@Korb
Copy link
Author

Korb commented Jan 14, 2025

— this is a minus symbol, −.
- — this is a hyphen symbol.

Their length may vary in different font families. But the minus sign is always the same width as the plus sign (+).

@ILoveScratch2
Copy link

I see, one of them is U+2212 character (Minus Sign) and the other is U+002D character (Hyphen-Minus)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants