Changing Variable Type and Format
The Type column displays the current data type for each variable. The most common data types are numeric and string, but many other formats are supported. In the current data file, the income variable is defined as a numeric type.
- Click the Type cell for the income row, and then click the button on the right side of the cell to open the Variable Type dialog box.
- Select Dollar.
The formatting options for the currently selected data type are displayed.
- For the format of the currency in this example, select $###,###,###.
- Click OK to save your changes.