Jump to content

Calculator results are missing zero at the beginning


Recommended Posts

Calculator results are missing zero at the beginning of result when result is between -1..1

 

Steps to reproduce:

- Show Alfred

- Type “1/2”

- Press Enter to copy the result “0.5” into clipboard

Observe that instead of “0.5”, you've got “.5” in the clipboard.

 

If this is intended behaviour, I can't understand it, because I know no software that supports removing zero at the beginning — it makes copy-pasting harder.

I also haven't seen this notation anywhere outside software world. Negative results looks even more weird: “-.5”.

 

Please either make an option to include this zero in the results, or (better) just include it by default.

Edited by Pavel Alexeev
Link to comment

@Pavel Alexeev Alfred copies the minimally formed number by design as this offers maximum compatibility when pasting to all types of destination app. If you'd like to copy the fully formatted leading 0 number, you can use cmd+c on the result.

 

This has in fact been the behaviour in Alfred since the start, so I'm reluctant to consider changing it.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...