Method ao/cast
CAST - converts the numeric values in an AO to the data type specified by type.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: CAST - converts the numeric values in an AO to the data type
specified by type. The input for the parameter 'type' is a
string and can be set to one of the following:
'uint8', 'int8',
'uint16', 'int16',
'uint32', 'int32',
'uint64', 'int64',
'single', or 'double'
CALL: b = cast(a, pl)
Parameters Description
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details |
|
Access |
public |
Defining Class |
ao |
Sealed |
0 |
Static |
0 |
Parameter Description
Sets for this method … |
Default |
Default |
no description |
Key |
Default Value |
Options |
Description |
TYPE, DATA TYPE, PRECISION |
'double' |
- 'uint8'
- 'int8'
- 'uint16'
- 'int16'
- 'uint32'
- 'int32'
- 'uint64'
- 'int64'
- 'single'
- 'double'
|
New data type for the numeric values in the AO. |
back to top
Some information of the method ao/cast are listed below: |
Class name |
ao |
Method name |
cast |
Category |
Converter |
Package name |
ltpda |
VCS Version |
3f8d61c792503a5b5ec8a0a153efb23b65da24a9 |
Min input args |
1 |
Max input args |
-1 |
Min output args |
1 |
Max output args |
-1 |
|
Method: ao/rebuild |
|
Method: ao/double |
 |
©LTP Team