Currently creating an app which has to store fractions and then display them based on certain inputs.
However the fractions are complicated exam question style, for example:
2x^2 + 3
<hr />
3x^2 + 4
How can I display such a fraction as a string in swift?