如何将12.93转换成“0012.93”?例如:double price = 12.93如何将12.93转换成“0012.93”?[解决办法]有点笔误
string str = price.ToString(); str = price.PadLeft(7, '0');