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

science mode should support an easy button to change result format from decimal mode to fractional mode #204

Open
whutddk opened this issue Mar 8, 2019 · 14 comments
Labels
Enhancement help wanted Issues identified as good community contribution opportunities needs spec Pri: 2

Comments

@whutddk
Copy link
Contributor

whutddk commented Mar 8, 2019

Problem Statement

science mode should support an easy button to change result format from decimal mode to fractional mode.

Evidence or User Insights

In most of scientific calculator, a single button is added to support this funciton to satify different requirement. Can you add this in it?

Proposal

An easy button to switch mode

Goals

when I calculate 3 divide 9, the result 0.333333333... will be given out. But sometimes I need a more accurate result TIM截图20190309144526
in fractional format. Because my works need my result to show in fractional.
May be a little button is needed to switch result.

Non-Goals

Low-Fidelity Concept

@MicrosoftIssueBot
Copy link
Collaborator

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

@grochocki
Copy link
Contributor

Thanks for the feature suggestion! I think this is a great start, but it seems like there are some missing details. Can you add more information to your pitch? Check out our New Feedback Process for more info.

This feels pretty similar to #170? Would you agree? If so, perhaps it would be better to join the discussion there.

@whutddk
Copy link
Contributor Author

whutddk commented Mar 9, 2019

No, I think it's different from #170. But maybe the feature #170 mentions should support first.
In short, two kinds of result format can be given out with the help of this button:

  • 0.25 or 1/4 ?
  • 0.3333333 or 1/3 ?
  • 0.285714... or 2/7 ?

I think most of CASIO calculators support this function, maybe you can find one and try.

@whutddk
Copy link
Contributor Author

whutddk commented Mar 9, 2019

can you understand what I say? @grochocki

@Luuk34
Copy link

Luuk34 commented Mar 9, 2019

What if the output is: 10,00048602673147023086269744836
Should this button really change it to: 123456/12345 ?

@whutddk
Copy link
Contributor Author

whutddk commented Mar 9, 2019

@Luuk34 Hi, the feature I metion depend on CASIO fx-82ES calculator. Then I try it in real calculator, it cannot! But I think it should,because 10,00048602673147023086269744836 = 1000048602673147023086269744836 / 10000000000000000000000000000000 ,then it can be simplified.
This function mainly use for the result like 1/3, 1/7,1/11,that can only show accurate result
in fractional format.

@grochocki
Copy link
Contributor

grochocki commented Mar 9, 2019

Thanks for the clarification @whutddk. It seems this #170 is focused on making fractions/exponents visually distinct, while your idea covers covnersion between fractions and decimals. Let's keep this idea open for discussion so the community has the chance to provide feedback.

As @Luuk34 points out, most decimals do not work out to a nice conversion. While technically correct, I am not sure displaying this is the best user expereince:

1000048602673147023086269744836 / 10000000000000000000000000000000

@lzl1918
Copy link

lzl1918 commented Mar 10, 2019

so, it is a good idea to add similar accuracy improvements to root numbers?

Sqrt (2)=(visualized sqrt)(2)
sqrt (2.5) = sqrt (10/4) = (visualized sqrt)(10)/2
sqrt (3)/sqrt (2) = (visualized sqrt)(6)/2

@grochocki
Copy link
Contributor

so, it is a good idea to add similar accuracy improvements to root numbers?

Sqrt (2)=(visualized sqrt)(2)
sqrt (2.5) = sqrt (10/4) = (visualized sqrt)(10)/2
sqrt (3)/sqrt (2) = (visualized sqrt)(6)/2

@lzl1918 I think this would be good to include in the discussion for #170

@ghost
Copy link

ghost commented Jun 20, 2019

We reviewed the pitch and would love to explore this idea further! The pitch is a great start, but there are still some open questions. I am moving this issue into planning to iron out some of those details and I created calculator-specs/decimalToFraction to track progress. A human will follow up with some feedback on your pitch shortly. Keep in mind that not all ideas that make it into the planning phase are guaranteed to make it to release. For more information on next steps, check out our spec workflow.

@grochocki
Copy link
Contributor

We believe this is dependent on #170, which in turn, is likely dependent on the ability to display rich math symbols and expressions in the output. We can move forward thinking through the UX and behavior assuming those issues are resolved. A couple additional pieces of feedback:

  • We should consider supporting this across more modes (i.e., should not limit to just scientific mode).
  • While a decimal like 0.123456789 could be represented as 123456789/1000000000, it might not be the best user experience, so we should think through how we handle those cases.

@grochocki grochocki added the help wanted Issues identified as good community contribution opportunities label Jun 22, 2019
@SaprativRay
Copy link

Thanks for the clarification @whutddk. It seems this #170 is focused on making fractions/exponents visually distinct, while your idea covers covnersion between fractions and decimals. Let's keep this idea open for discussion so the community has the chance to provide feedback.

As @Luuk34 points out, most decimals do not work out to a nice conversion. While technically correct, I am not sure displaying this is the best user expereince:

1000048602673147023086269744836 / 10000000000000000000000000000000

While this is true, most CASIO calculators simply don't convert the decimals which do not have accurate and "aesthetic" representation in fractions. On pressing the button to convert, it doesn't do anything. While that might not be the best user experience, and I know this would be a lot of work for a minor feature, it makes sense to not convert but simply add a small lightbulb icon beside the same decimal value in the answer box which explains why the conversion was not performed.

@ghost
Copy link

ghost commented Aug 18, 2020

Here is an example from the Google Calculator for Android:

Screenshot_2020-08-14-15-40-56-700_com.google.android.calculator.jpg

Note that there is no button for switching decimal/fractional modes. It shows both forms by default.

@Chips1234
Copy link
Contributor

I'm thinking something where the default is in decimal form, but there's a little button (perhaps with the symbol a and b over c, see image below of my Sharp Calculator's button) and when that's pressed, the decimal will turn into a fraction. Perhaps the default behaviour for the button is a mixed fraction, but when the [2nd] button is clicked, the button will turn mixed into improper fractions?
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement help wanted Issues identified as good community contribution opportunities needs spec Pri: 2
Projects
None yet
Development

No branches or pull requests

7 participants