Most of us are uncomfortable with using fractions when writting programs. If we encounter a fraction, we will first convert it into a floating point number (with decimals) and proceed from there. Most programming languages would prefer to use 0.5 as opposed to 1/2 because the later conflicts with the syntax of the languages. In this article, I will discuss my attempt to work with fractions in one of the PHP projects that I have done.