0
$\begingroup$

I want to stop this fraction from simplifying inside a Manipulate[]

Manipulate[
           x/y
           , {x, 7, 10, 1}
           , {y, 7, 10, 1}
]

i.e. when this program is evaluated the fraction should look like:

$$\frac{7}{7}$$


I have tried many different wrapping configurations of ToString, Hold, HoldForm:

but to no avail:

enter image description here

Surprisingly mathematica will even simplify a fraction containing strings to $1$

$\endgroup$
3
  • $\begingroup$ If the linked question does not suit your needs, edit your question to explain why. $\endgroup$ Commented Feb 9, 2021 at 12:21
  • $\begingroup$ Thanks, the solution of Internal`RationalNoReduce[x, y] in the linked question works great. I read several questions before I posted my question, but for some reason I never found that link :( $\endgroup$ Commented Feb 9, 2021 at 12:27
  • $\begingroup$ Yes, I could see why. I had made a few changes to it so that other people who get in your situation will not encounter the same trouble. $\endgroup$ Commented Feb 9, 2021 at 12:29

0

Browse other questions tagged or ask your own question.