Gemstone Common Library
Show/Hide TOC

# Voltage Conversion (Double to Voltage)

Implicitly converts value, represented in volts, to a Voltage.

## Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.141 -- Release Build+8fc1477299d57116e2a4f3cb8dfe059f814b239b
C#
View Source Request Example

    public static implicit operator Voltage (
    	double value
    )

VB
View Source Request Example

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

C++
View Source Request Example

    static implicit operator Voltage (
    	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

Voltage
A Voltage object.

## See Also

#### Reference

Voltage Structure
Overload
Gemstone.Units Namespace