Click or drag to resize

MassConvertFrom Method

Converts the value in the specified sourceUnit to a new Mass in kilograms.

Namespace: GSF.Units
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.311-beta+f609a6c360d175afd5d88b151f15bcbae7d29604
Syntax
public static Mass ConvertFrom(
	double value,
	MassUnit sourceUnit
)
View Source

Parameters

value  Double
Source value.
sourceUnit  MassUnit
Source value units.

Return Value

Mass
New Mass from the specified value in sourceUnit.
See Also