I am currently setting the number format using the below code
pivotTable.getCTPivotTableDefinition().getDataFields().getDataFieldArray(0).setNumFmtId(2)
But i want to set the number format which is not there in format codes of setNumFmtId function Ex: 0.0 which is not there in formats
I can only see 0.00 but not 0.0 format in format codes.