TNumber.DoubleOrFraction Method

If the specified Double value is fractional then creates a new TNumber containing TFraction, otherwise creates a new TNumber containing TDouble.

Definition

Namespace: SMath.Math.Numeric
Assembly: SMath.Math.Numeric (in SMath.Math.Numeric.dll) Version: 1.73.9126.0
C#
public static TNumber DoubleOrFraction(
	double d
)

Parameters

d  Double

Return Value

TNumber

See Also