Gemstone Common Library
Show/Hide TOC

# LengthModulus 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.154 -- Release Build+24a4f4795f9fb8aaeeb777ef1e3e0158effe5bad
C#
View Source Request Example

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

VB
View Source Request Example

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

C++
View Source Request Example

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

JavaScript
View Source Request Example

    JavaScript does not support overloaded operators.

#### Parameters

value1 Length
  A Length object left hand operand.
value2 Length
  A Length object right hand operand.

#### Return Value

Length
A Length object as the result.

## See Also

#### Reference

Length Structure
Gemstone.Units Namespace