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.173 -- Release Build+298e1c238b074757f82f41812034645402a162ed
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