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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table 4 Numeric formats with punctuation and symbols<br />

Format type Description Sample format<br />

Sample<br />

input<br />

Default output<br />

format<br />

Variables 29<br />

Displayed<br />

value<br />

COMMAw.d Commas in COMMA6.0 12345 COMMA7.0 12,345<br />

numbers<br />

12,345 12,345<br />

123,45 12,345<br />

COMMA6.3 12345 COMMA7.3 12.345<br />

123,45 12.345<br />

1.2345 1.234<br />

1234.5 1234.50 *<br />

DOTw.d Dots in numbers DOT6.0 12345 DOT7.0 12.345<br />

123.45 12.345<br />

123.45 12.345<br />

DOT6.3 12345 DOT7.3 12,345<br />

123.45 12,345<br />

1,2345 1,234<br />

1234,5 1234,50*<br />

DOLLARw.d Dollar sign and DOLLAR7.0<br />

comma in numbers<br />

1234<br />

1,234<br />

DOLLAR10.0 $1,234<br />

$1,234<br />

$1234 $1,234<br />

$1,234 $1,234<br />

DOLLAR7.3 1234 DOLLAR10.3 $1.234<br />

1,234 $1.234<br />

$1,23.4 $123.400<br />

12345.6 $12345.60<br />

0*<br />

PCTw.d Percent sign after<br />

numbers<br />

PCT7.0 1234 PCT8.0 1234%<br />

12.34 12%<br />

PCT7.2 1234 PCT9.3 1.234%<br />

12.3 12.340%<br />

1234 12.34%<br />

* When the decimal point is coded in input, SPSS displays all specified decimal places whether<br />

recorded in the data or not. When the width is inadequate, thousands separators are dropped before<br />

decimal places.

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

Saved successfully!

Ooh no, something went wrong!