NumeratorDenominator
NumeratorDenominator[expr] gives the list {Numerator[expr], Denominator[expr]} of expr.
Examples
NumeratorDenominator[3/4]NumeratorDenominator[(a + b)/(c + d)]Please visit the official Wolfram Language Reference for more details.