Skip to main content Skip to complementary content

Div

Div() returns the integer part of the arithmetic division of the first argument by the second argument. Both parameters are interpreted as real numbers, that is, they do not have to be integers.

Syntax:  

Div(integer_number1, integer_number2)

Return data type: integer

Examples and results:  

  • Div( 7,2 ): returns 3
  • Div( 7.1,2.3 ): returns 3
  • Div( 9,3 ): returns 3
  • Div( -4,3 ): returns -1
  • Div( 4,-3 ): returns -1
  • Div( -4,-3 ): returns 1

Learn more

 

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com