The numden command returns a vector of the numerator and denominator for an expression A. The result is obtained after placing the terms of A over a common denominator.
numden(2/3); [2, 3] numden(1/x + 1/y); [y+x, x*y]