DataTypeTryConvertFromNumeric Method TIBCO Spotfire 7.6 API Reference
Converts a value from a numeric (double) representation, to the value representation defined by dataType.

Namespace: Spotfire.Dxp.Data
Assembly: Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public static bool TryConvertFromNumeric(
	double numericValue,
	out Object value,
	DataType dataType
)

Parameters

numericValue
Type: SystemDouble
A numeric value.
value
Type: SystemObject
The converted value.
dataType
Type: Spotfire.Dxp.DataDataType
A data type that determines the type of the converted value.

Return Value

Type: Boolean
true if conversion was possible; otherwise false.
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference