< Day Day Up > |
Div()Category: Number Syntax: Div ( numer ; denom ) Parameters: numer ”any expression that resolves to a numeric value; denom ”any expression that resolves to a numeric value. Description: Returns the quotient resulting from the division of the numerator numer by the denominator denom . Examples: Div ( 30 ; 4 ) Returns 7 because 30/4 is 7, remainder 2. Div ( 51 ; 8 ) Returns 6 because 50/8 is 6, remainder 3. Comments: The Div function is equivalent to Floor ( numer / denom ) . To obtain the remainder when a numer is divided by denom , use the Mod function. |
< Day Day Up > |