1. Home
  2. Docs
  3. Flexie CRM Methods
  4. subtract method

subtract method


subtract — subtract two numbers and returns the result.


Subtraction is an arithmetic operation that represents the operation of removing objects from a collection.
Minimum number of arguments for this method is two. Subtracts the second parameter value from the first parameter value.

Structure of the method:



a — First parameter of type number

b — Second parameter of type number


{% set a= 12.5 %}
{% set b = 5 %}
{% set total = subtract(a,b)%}

//Output: 7.5

To stay updated with the latest features, news and how-to articles and videos, please join our group on Facebook, Flexie CRM Academy and subscribe to our YouTube channel Flexie CRM.

How can we help?