Divide()

Returns the result of dividing the first parameter by the second parameter.

Availability 

Marketing Cloud Engagement ✅ Yes
Marketing Cloud Next ✅ Yes

This function became available in Marketing Cloud Next during the Summer ’26 release (API version 67.0).

Syntax 

1Divide(dividend, divisor)

The Divide() function has two parameters:

  • dividend (number): Required. The initial number.
  • divisor (number): Required. The number to divide the dividend by.

Usage 

To use this function, pass it two numbers. The numbers can be positive or negative integer or decimal numbers.

1%%=Divide(512,256)=%%

The function returns the quotient of the two numbers: 2.