Operator "\"

This operation does an integer divide of the first operand by the second operand. An integer divide means that any remainder is disregarded. For example, 11 \ 3 is 3, with a remainder of 2. This remainder is disregarded and "3" is the result of the integer division of those two numbers.

Usage:

number \ number     // Returns number
currency \ number   // Returns currency
currency \ currency // Returns number

Returns:

depends on operand value types

Examples (Same in Basic and Crystal syntax):

  3 \ 1      // Returns 3
  3 \ 2      // Returns 1
  85 \ 2     // Returns 42
  42 \ $15   // Returns 2