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.160 -- Release Build+19b74ac03cedad8575bb1ceb00051318b7421d0d
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