Div

 

Purpose:

Divides the first parameter by the second. If it is 0, the third parameter ist returned.

Parameter:

Number         dividend

Number         divisor

Number         (optional) return value, if the divisor is 0. Default: Null().

Return value:

Number

Example:

Div(6,0,0)                 Result: 0