Source/Operations/BinaryOperations.cs
/// <summary>
/// Divides 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>
Divides the left operand by the right operand
Divides the left operand by the right operand
public static ExpressionResult Divide(ExpressionResult leftOperand, ExpressionResult rightOperand)
		{
			return new ArithmeticExpressionResult(leftOperand, rightOperand)
			{
				Value = leftOperand.Value / rightOperand.Value,
				TermType = $"{leftOperand.TermType} / {rightOperand.TermType}"
			};
		}
public static ExpressionResult Divide ( ExpressionResult leftOperand , ExpressionResult rightOperand ) { return new ArithmeticExpressionResult ( leftOperand , rightOperand ) { Value = leftOperand . Value / rightOperand . Value , TermType = $" { leftOperand . TermType }  /  { rightOperand . TermType } " } ; }
Divides the left operand by the right operand
Divides 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