Using the Fields Control
The Fields control allows you to change input and output field types. You can change field types from within this control by clicking the drop-down arrow in the Type column and selecting from the list, which includes these options:
- boolean
-
A logical type with two values: true and false. Boolean variables can be used in conditional statements to control flow. The code sample, below, shows a Boolean expression:
if(x && y) z=1; else if(x) z=2; else if(y) z=3; else z=4;
- double
- A numeric data type that contains both negative and positive double precision numbers between 2-1074 and (2-2-52)×21023. In E notation, the range of values is -1.79769313486232E+308 to 1.79769313486232E+308.
- float
- A numeric data type that contains both negative and positive single precision numbers between 2-149 and (2-223)×2127. In E notation, the range of values -3.402823E+38 to 3.402823E+38.
- integer
- A numeric data type that contains both negative and positive whole numbers between -231 (-2,147,483,648) and 231-1 (2,147,483,647).
- long
- A numeric data type that contains both negative and positive whole numbers between -263 (-9,223,372,036,854,775,808) and 263-1 (9,223,372,036,854,775,807).