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.

1678 WRITE FORMATS<br />

Example<br />

COMPUTE V3=V1 + V2.<br />

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

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

• WRITE FORMATS changes the write format for V3 to F3.1.<br />

Example<br />

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

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

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

• WRITE FORMATS assigns the write format CCA to variable COST. 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!