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.156 -- Release Build+59006cef9614396d8b79971beebc1091829bcfe4
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