DataTypeTryConvertFromNumeric Method

Spotfire 14.3 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: 65.0.19510.3242 (65.0.19510.3242)
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: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference