Version

UltraCalcFunctionMod Class

Gets the remainder following integer division of two numbers.
Syntax
'Declaration
 
Public Class UltraCalcFunctionMod 
   Inherits BuiltInFunctionBase
public class UltraCalcFunctionMod : BuiltInFunctionBase 
Remarks

MOD(numerator, denominator)

Numerator is the number being divided by denominator. When denominator can only be taken from numerator a certain whole number of types (the quotient), any leftover is the remainder.

Denominator is the number dividing the numerator. Any remainder will have the sign of the denominator. This number cannot be zero, otherwise the MOD() function returns a #DIV/0 error.

If you want to perform integer division on these two numbers then use the QUOTIENT() function.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also