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.171 -- Release Build+4f4d518944b843c059d40b523747cd410a7c216d
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