Div
SYNTAX
<Integer1>.div(<Integer2>)
DESCRIPTION
Returns an Integer equal to the whole number of times that <Integer2> divides into <Integer1>. Any remainder is discarded.
USAGE RESTRICTIONS
The Operators row of the table in
Summary Table of Vocabulary Usage Restriction applies. No special exceptions.
RULESHEET EXAMPLE
This sample Rulesheet uses .div to calculate the whole number of times 3 divides into integer2, and assigns the resulting value to integer1 .
SAMPLE RULETEST
A sample Ruletest provides integer2 values for three examples. Input and Output panels are shown below.