~halega/+junk/sharpdevelop

« back to all changes in this revision

Viewing changes to src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/Project/Expressions/SimpleExpressionEvaluator/Compilation/Functions/Operators/Subtract.cs

  • Committer: sk
  • Date: 2011-09-10 05:17:57 UTC
  • Revision ID: halega@halega.com-20110910051757-qfouz1llya9m6boy
4.1.0.7915 Release Candidate 1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
using SimpleExpressionEvaluator.Compilation;
 
2
 
 
3
namespace SimpleExpressionEvaluator.Compilation.Functions.Operators
 
4
{
 
5
    /// <summary>
 
6
    /// Summary description for Subtract.
 
7
    /// </summary>
 
8
    [Tokens("-")]
 
9
    public class Subtract:NumericOperator
 
10
    {
 
11
        protected override double EvaluateOperation(double left, double right)
 
12
        {
 
13
            return left - right;
 
14
        }
 
15
    }
 
16
}
 
 
b'\\ No newline at end of file'