Click or drag to resize

Object2Float Function

X#
Convert an object containing a numeric value to a FLOAT

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax
 FUNCTION Object2Float(
	oValue AS Object
) AS FLOAT
Request Example View Source

Parameters

oValue
Type: Object
Object containing the numeric value to convert.

Return Value

Type: Float
The value in the form of a float.
Exceptions
ExceptionCondition
InvalidCastException Thrown when the parameter oValue cannot be converted to a FLOAT.
See Also