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.138 -- Release Build+dacff88cce10d287c7434d5aac59c76948c712b1
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