DataTypeTryConvertFromNumeric Method

TIBCO Spotfire 11.4 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: 51.0.16121.3915 (51.0.16121.3915)
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: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference