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

support for mixed fractions (e.g. '3 4/5') #370

Closed
husayt opened this issue May 14, 2015 · 3 comments
Closed

support for mixed fractions (e.g. '3 4/5') #370

husayt opened this issue May 14, 2015 · 3 comments

Comments

@husayt
Copy link

husayt commented May 14, 2015

Would be nice to handle mixed numbers. Also to convert improper fraction into mixed number and mixed number into improper fractions.

@husayt husayt changed the title support for mixed fractions ( 3 4/5) support for mixed fractions (e.g. '3 4/5') May 14, 2015
@husayt husayt closed this as completed May 14, 2015
@josdejong
Copy link
Owner

Makes sense. Did you accidentally close this issue?

@josdejong
Copy link
Owner

hm there is one problem though: it means that the parser should interpret 3 4/5 as 3+4/5, an addition. That is at odds with implicit multiplication like 2 (3 + 4) and 2 x.

@makarandkarkare
Copy link

May be inclusion of a new operator (&) can solve this issue. Please check the calculator at this link https://mathpapa.com/algebra-calculator.html
Here, you can enter 3&4/5 and it shows it correctly as a mixed fraction, and also treats it correctly as one.

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

No branches or pull requests

3 participants