Posts marked with “Fractional Math”
PHP Puzzles: Fractional Math
We’ve seen how working with floating-point values can be problematic. What if we had a class that worked with fractions directly by tracking the numerator and denominator as integers? Let’s see if it’s possible. by Oscar Merida


