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.171 -- Release Build+4f4d518944b843c059d40b523747cd410a7c216d
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