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.152 -- Release Build+1bdd5395ab91a1a698659399697f8334859b02d2
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