有谁知道
System::String::Format("{0:D9}", x);
最佳答案
“{0:D9}”
表示 “最小宽度为 9 的第零个传递元素的十进制表示。”。与使用 Boost 等价的是:
boost::format("%09d") % 42
关于c# - 相当于 System::String::Format ("{0:D9}", x);,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17370616/