Back to functions

Expression.multiply


multiply

Multiplies two expressions.

Usage: nerdamer(x).multiply(y)


Parameters

String x Expression 1
String y Expression 2

Returns

Expression

EXAMPLES:
var a = nerdamer('x');
var x = nerdamer('x+1').multiply(a);
console.log(x.toString());
var x = nerdamer(0.1).multiply(0.2);
console.log(x.toString());
OUTPUT:
Back to functions