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.138 -- Release Build+dacff88cce10d287c7434d5aac59c76948c712b1
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