CAST function [Data type conversion]

Returns the value of an expression converted to a supplied data type.

The CAST, CONVERT, HEXTOINT, and INTTOHEX functions can be used to convert to and from hexadecimal values. For more information about using these functions, see Converting to and from hexadecimal values.

 Syntax
 Parameters
 Returns
 Remarks
 See also
 Standards and compatibility
 Example