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

divide method


divide — divides two numbers and returns the result.


Minimum number of  arguments for this method is two.

Structure of the method:

divide(a, b)


a — This is the first parameter and should be a number

b — This is the second parameter and should be a number. If it is 0, the method will not return anything as division by 0 has no meaning and is undefined


{% set total = divide(5,2) %}

//Output: 2.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?