NumericFormat Method (Python)

Sets the display format for numeric values in the selected cells of the current table.

SpssPivotTable.NumericFormat(format,decimal)

Parameters

format
The string description of the format.
Note: When using custom currencies, use CCA through CCE for the format parameter instead of the format strings in the CellFormat panel.
decimal
Number of decimal places.

For a listing of the format types, see String Description of Numeric Formats (Python).