Developing Apama Applications > Apama EPL Reference > Expressions > Additive operators > Subtraction operator
Subtraction operator
The subtraction operator – produces a result by computing the numeric difference between the left and right operands by subtracting the value of the right operand from the left. If the two operands are both expressions of type integer, then integral subtraction is performed and the result is of type integer. If the two operands are both of type decimal or both of type float, then floating-point subtraction is performed and the result type is the same as the operand type.
Copyright © 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors.