Back to functions

Expression.denominator


denominator

Get a list of the denominator of a polynomial

Usage: nerdamer(expression).denominator()


Parameters

none This function takes no arguments.

Returns

Expression

EXAMPLES:
var e = nerdamer('(x^2+1)/(x-1)');
var denominator = e.denominator().toString();
console.log(denominator);
e = nerdamer('2/5');
denominator = e.denominator().toString();
console.log(denominator);
OUTPUT:
Back to functions