Skip to main content Skip to complementary content

Div - script and chart function

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:  

Examples 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

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!