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.160 -- Release Build+19b74ac03cedad8575bb1ceb00051318b7421d0d
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