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.153 -- Release Build+cfa0f66eec3b78014206cf98a152ef9e72791f21
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