How to rationalize the denominator calculator

http://activeproperty.pl/