float 格式化到TCHAR 数组
<span style="white-space:pre"> </span>float lCount = 123.3; TCHAR tcBalance[MAX_PATH] = {0}; swprintf(tcBalance, MAX_PATH, L"%0.1f", lCount);
版权声明:本文为博主原创文章,未经博主允许不得转载。
<span style="white-space:pre"> </span>float lCount = 123.3; TCHAR tcBalance[MAX_PATH] = {0}; swprintf(tcBalance, MAX_PATH, L"%0.1f", lCount);
版权声明:本文为博主原创文章,未经博主允许不得转载。