Skip to content

Decimal To Fraction Gives Long and Inaccurate Fraction #2349

@Maaz-100

Description

@Maaz-100

Describe the bug

I was doing a maths question in which you need to give your answer as a fraction
After solving the question I got my answer as 71.47058824.
Then when numworks tries to convert it into a fraction it gives me 35735294117647 / 500000000000.
Even tough it should of been 1215/17

Screenshots

Image Image Image Image Image

To Reproduce

Steps to reproduce the behavior:

  1. Go to any numworks app
  2. Type any fraction with a denominator that has a prime number greater than 2
  3. The calculator will give you a decimal number
  4. Copy the decimal number into the calculator and click enter
  5. The calculator wont convert that decimal into the number original fraction rather a overcomplicated fraction

Expected behavior

When reverting from a decimal to a fraction the calculator should give the fraction you entered originally

Environment

  • Numworks Calculator (24.3) .
  • Online Simulator(24.3)
  • Android App On 23.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions