Gemstone Common Library
Show/Hide TOC

# SpeedConvertFrom Method

Converts the value in the specified sourceUnit to a new Speed in meters per second.

## Definition

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

    public static Speed ConvertFrom(
    	double value,
    	SpeedUnit sourceUnit
    )

VB
View Source Request Example

    Public Shared Function ConvertFrom (
    	value As Double,
    	sourceUnit As SpeedUnit
    ) As Speed

C++
View Source Request Example

    public:
    static Speed ConvertFrom(
    	double value,
    	SpeedUnit sourceUnit
    )

JavaScript
View Source Request Example

    Gemstone.Units.Speed.ConvertFrom = function(value, sourceUnit);

#### Parameters

value Double
  Source value.
sourceUnit SpeedUnit
  Source value units.

#### Return Value

Speed
New Speed from the specified value in sourceUnit.

## See Also

#### Reference

Speed Structure
Gemstone.Units Namespace