Variable properties - type

The Variable Type dialog box specifies the type and display format of a variable. In the Variable View, click in the type area of any variable. This brings up the ellipsis button. Click in this button to open the Variable Type dialog box:

For a numeric variable, specify the width (total number of columns) and the number of decimal positions.

Note that the width should allow for any special characters that are displayed with the requested format. For a string variable, specify the total number of characters in the string.

The equivalent syntax is the FORMATS command.