Gemstone Common Library
Show/Hide TOC

# Length Conversion (Double to Length)

Implicitly converts value, represented in meters, to a Length.

## Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.172 -- Release Build+241430fabc9f8d815f226ef82f939af6835b2b48
C#
View Source Request Example

    public static implicit operator Length (
    	double value
    )

VB
View Source Request Example

    Public Shared Widening Operator CType (
    	value As Double
    ) As Length

C++
View Source Request Example

    static implicit operator Length (
    	double value
    )

JavaScript
View Source Request Example

    JavaScript does not support the declaration of new casting operators.

#### Parameters

value Double
  A Double value.

#### Return Value

Length
A Length object.

## See Also

#### Reference

Length Structure
Overload
Gemstone.Units Namespace