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.143 -- Release Build+524337d392fd5616b12b50022b004322b9e7c330
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