Gemstone Common Library
Show/Hide TOC

# CurrentModulus Operator

Returns computed remainder after dividing first value by the second.

## Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.180 -- Release Build+914ca9e6d1cce46b614eb7013eba0303271cf6d8
C#
View Source Request Example

    public static Current operator %(
    	Current value1,
    	Current value2
    )

VB
View Source Request Example

    Public Shared Operator Mod (
    	value1 As Current,
    	value2 As Current
    ) As Current

C++
View Source Request Example

    public:
    static Current operator %(
    	Current value1,
    	Current value2
    )

JavaScript
View Source Request Example

    JavaScript does not support overloaded operators.

#### Parameters

value1 Current
  A Current object as the left hand operand.
value2 Current
  A Current object as the right hand operand.

#### Return Value

Current
A Current object as the result of the operation.

## See Also

#### Reference

Current Structure
Gemstone.Units Namespace