Allocate large enough buffer to make _ecvt_s happy. Swap the order of template parameters in TempFormatter for convenience.