Click or drag to resize

Val Function

Convert a string containing a numeric value to a numeric data type.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.0
Syntax
 FUNCTION Val(
	cNumber AS STRING
) AS USUAL

Parameters

cNumber
Type: String
Number to convert. This may contain decimal separator, Hex notation, U or L suffix or Exponential notation.

Return Value

Type: USUAL
The numeric value as a USUAL.This may be a FLOAT, a LONG or an INT64.
See Also