I want to know how to change pivot table totals format by myself?

I give format is .3s. Totals just show me number, not 12.3M.