Fractions with PHP


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

3  @  5704 - 3/16
2  @  601
1  @  324 - 3/16
1  @  60 - 11/16
2  @  3 - 1/8
1  @  1 - 7/16
1  @  0 - 1/16


Back to the code