Table of Contents

Method GetDoubleFrom

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

GetDoubleFrom<T>(T)

Get a double from target type value (从目标类型取得 double 类型的值).

public static double GetDoubleFrom<T>(T src) where T : struct

Parameters

src T

Source value (源值).

Returns

double

Returns a double value (返回 double 类型的值).

Type Parameters

T

Target type (目标类型).