Basic Syntax CrystalClear Syntax Before Reading Records

Remainder( numerator, denominator )


Returns the remainder of an integer division of numerator by denominator. This is the equivalent to a modulo division.

Usage:

Remainder( numerator, denominator )

Parameters:

numerator A (decimal) number.
denominator The divisor.

Return:

The numerator is divided by the denominator and the remainder of the division is returned.

Example:

remainder( 3.49363739, 5)	// Result: 3.49
remainder( 13, 10)		// Result: 3, because 13=1*10+3
remainder({field}, 2)	// Result: each field value mod 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: