Caché Basic Reference
Integer Division Operator (\)
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Class Reference   
Search:    

Used to divide two numbers and return an integer result.
Synopsis
result = number1 \ number2
Arguments
The \ operator syntax has these parts:
result Any numeric variable.
number1 Any numeric expression.
number2 Any numeric expression.
Description
Before division is performed, numeric expressions are rounded to Byte, Integer, or Long subtype expressions.
Any expression that is Empty is treated as 0.
See Also