H (Hybrid) Language - v0.03, by Dr. Herong Yang
"integer" "division" Operation
This section describes 'integer' 'division' operation
The "integer" "division" operation is provided through the integer.divide() function, which has the following syntax:
integer.divide(a, b) Parameters: a - First "integer" data object b - Second "integer" data object Return: Returns a new "integer" data object representing resulting quotient of "a divided by b". Errors: Throws "ZeroDivision" error code, if b is 0.
The "integer" "division" operation can be expressed in the "/" operator format:
a / b; # alias of the following function call integer.divide(a, b);
May be another alias should be supported too:
integer.quotient(a, b); # alias of the following function call integer.divide(a, b);
Table of Contents
Constructor Function: integer()
"integer" "addition" Operation
"integer" "subtraction" Operation
"integer" "multiplication" Operation
►"integer" "division" Operation
"integer" "exponentiation" Operation
"integer" "negation" Operation
"integer" "absolute" Operation
"integer" "greater-than" Operation
"integer" "less-than" Operation
"integer" "equal-to" Operation
"integer" "not-equal-to" Operation
"integer" "greater-than-or-equal-to" Operation
"integer" "less-than-or-equal-to" Operation
Inheritance - Object Attachments