Reference Guide > T Routines > TYPECONV Function
  

TYPECONV Function
Converts data types for numeric arrays.
Usage
result = TYPECONV(t, x)
Input Parameters
t—A numeric data type code, which can have the following values:
 
Table 17-4: Data Type Codes
Code
Definition
1
BYTE
2
INT
13
INT32
3
LONG
4
FLOAT
5
DOUBLE
6
COMPLEX
12
DCOMPLEX
x—An array containing the values to convert.
Returned Value
result—Array x, converted to type t.
Keywords
Trans—If set, result is also transposed.
 

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.