fraction(f, g)
The output will be in the fraction field of the ring containing f and g, without reducing it to lowest terms.
The object fraction is a method function.
The source of this document is in Macaulay2Doc/functions/frac-doc.m2:104:0.