<A NAME=NUM>
<TITLE>NUM</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>
<B>NUM</B> _ _ _ _ _ _ _ _ _ _ _ _ <B>operator</B><P>
<P>
<P>
<P>
The <em>num</em> operator returns the numerator of its argument.
<P> <H3>
syntax: </H3>
<P>
<P>
<em>num</em>(<expression>) or <em>num</em> <simple\_expression>
<P>
<P>
<P>
<expression> can be any valid REDUCE scalar expression.
<P>
<P>
<P> <H3>
examples: </H3>
<P><PRE><TT>
num(100/6);
50
num(a/5 + b/6);
6*A + 5*B
num(sin(x));
SIN(X)
</TT></PRE><P><em>num</em>returns the numerator of the expression after it has b
een simplified
by REDUCE. As seen in the examples, this includes putting sums of rational
expressions over a common denominator, and reducing common factors where
possible. If the expression is not a rational expression, it is returned
unchanged.
<P>
<P>
<P>