You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
546 B
C#
24 lines
546 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Study.DelegateSeries.Core.Calculator
|
|
{
|
|
/// <summary>
|
|
/// 乘法类
|
|
/// </summary>
|
|
public class Multiplication
|
|
{
|
|
/// <summary>
|
|
/// 求积
|
|
/// </summary>
|
|
/// <param name="factorA">因数A</param>
|
|
/// <param name="factorB">因数B</param>
|
|
/// <returns>积</returns>
|
|
public decimal Multiplicat(decimal factorA,decimal factorB)
|
|
{
|
|
return factorA * factorB;
|
|
}
|
|
}
|
|
}
|