Basic Syntax CrystalClear Syntax

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

See also:


i-net software strives to provide accurate product documentation. Please give us your feedback using the form below.
NOTE: This form is for documentation feedback only. For technical assistance, please send an email to crystalclear@inetsoftware.de.

This page is: very poor very good
Comment: