/ (Division)
operator / (Division)
What changes
- Input
- operand expressions
- Output or change
- computed value
Syntax at a glance
dividend / divisor
Work example
A ratio needs a deliberate numeric type and a zero-denominator rule.
Run the arithmetic sample. Compare integer and decimal operands, then guard a zero denominator with NULLIF where appropriate.
Check your work / (Division). Integer division and decimal division produce the expected scales and no divide-by-zero error occurs.
Open Microsoft Learn for full syntax, permissions, and details for your version.