Source/Operations/BinaryOperations.cs
/// <summary>
/// Multiplies the left operand by the right operand
/// </summary>
/// <param name="leftOperand">The left operand</param>
/// <param name="rightOperand">The right operand</param>
/// <returns>The result of the operation</returns>
Multiplies the left operand by the right operand
Multiplies the left operand by the right operand
public static ExpressionResult Multiply(ExpressionResult leftOperand, ExpressionResult rightOperand)
		{
			return new ArithmeticExpressionResult(leftOperand, rightOperand)
			{
				Value = leftOperand.Value * rightOperand.Value,
				TermType = $"{leftOperand.TermType} * {rightOperand.TermType}"
			};
		}
public static ExpressionResult Multiply ( ExpressionResult leftOperand , ExpressionResult rightOperand ) { return new ArithmeticExpressionResult ( leftOperand , rightOperand ) { Value = leftOperand . Value * rightOperand . Value , TermType = $" { leftOperand . TermType }  *  { rightOperand . TermType } " } ; }
Multiplies the left operand by the right operand
Multiplies the left operand by the right operand
The result of the operation
The result of the operation
leftOperand
ExpressionResult
The left operand
The left operand
rightOperand
ExpressionResult
The right operand
The right operand