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

Used to divide two numbers and return an integer result.
result = number1 \ number2
The \ operator syntax has these parts:
result Any numeric variable.
number1 Any numeric expression.
number2 Any numeric expression.
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

Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA