Just input the decimal, and it gets converted into a (mixed) fraction. And you can also input repeating decimals! Just use the \ symbol, so 0.1\56 represents 0.1565656...
1.0 of this project: https://scratch.mit.edu/projects/321730733/ A second version of my older project, which unlike the older project, actually works 100% of the time. BTW this is the first time I've posted two projects in one day, the other project I posted today: https://scratch.mit.edu/projects/790251024/ EDIT: Fixed a bug that caused the numerator and denominator to be extremely large which was caused by a floating point error, was solved by rounding the numerator at a specific point in the code.