This is a simple PHP script to handle complex numbers. The script can handle various mathematical operations. It includes adding and subtraction.
Fraction takes a numerator and denominator number and can perform basic operations with other fractional numbers such as addition, subtraction, multiplication and division. The resulting fraction can be simplified by dividing both the numerator and denominator by their common denominator.Requirements: PHP 5.0 or higher