Functions Index :: D :: Div2
Module:
Definition:
Div2(val x1, val x2)
Description:
Returns the quotient of the division of its arguments. [1]
Examples:
v = Div2(5, 2) # v == 2 because both args are ints
w = Div2(5.0, 2) # v == 2.5 because 5.0 forces float division
[1]: The function is provided as a building block of more complex functions, particularly for operations on arrays. See the documentation of the array package and the ArrayOpFunc, ArrayOpArrayFunc and ArraySum functions.