Fractions with PHP


Refresh the page a few times to see how it handles the random input:

3  @  4942 - 13/16
2  @  464
1  @  324 - 3/16
1  @  60 - 11/16
2  @  3 - 1/8
1  @  1 - 7/16
1  @  0 - 1/16


Back to the code