Decimal to Fraction

Post Reply
User avatar
jessica
Site Admin
Posts: 31
Joined: Thu Sep 06, 2018 3:17 pm
Location: Cincinnati, Ohio
Contact:

Decimal to Fraction

Post by jessica » Sun Sep 09, 2018 9:30 am

This function will convert a decimal to a fraction with a denominator up to 128 (example 13/128). This function uses simple PHP math functions.

A number is required.

Post Reply