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.163 -- Release Build+087b6813ba03894bf4bfe2466a2a63a9702d9bb9
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