How to format sum_bucket aggregation float output?

Hi,
I found format attribute described in Average Bucket Aggregation of the document. It says the format is according to Java DecimalFormat: format: "#.00".

(PS I incidentaly found the format attribute are usable in sum aggregation too.)