27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1260 PRINT FORMATS<br />

Example<br />

COMPUTE V3=V1 + V2.<br />

PRINT FORMATS V3 (F3.1).<br />

• COMPUTE creates the new numeric variable V3. By default, V3 is assigned an F8.2 format<br />

(or the default format specified on SET).<br />

• PRINT FORMATS changes the print format for V3 to F3.1.<br />

Example<br />

SET CCA=’-/-.Dfl ..-’.<br />

PRINT FORMATS COST (CCA14.2).<br />

• SET defines a European currency format for the custom currency format type CCA.<br />

• PRINT FORMATS assigns the print format CCA to variable COST. With the format defined<br />

for CCA on SET, the value 37419 is displayed as Dfl’37.419,00. See the SET command<br />

for more information on custom currency formats.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!