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.152 -- Release Build+1bdd5395ab91a1a698659399697f8334859b02d2
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