100分请教java.text.DecimalFormat和c#里的那个class相对应
从java转换成c#的时候报如下错:
//UPGRADE_ISSUE: Class“java.text.DecimalFormat” 未转换。. 'ms-help://MS.VSCC.2003/commoner/redir/redirect.htm?keyword="jlca1000_javatextDecimalFormat"'
DecimalFormat tDecimalFormat = new DecimalFormat("#############.#####");
System.String tStr = tDecimalFormat.FormatDouble(aValue);
提示说该用 String.Format 和包含在 System.Globalization 命名空间的类中的可自定义的格式模式。
可是上面的两行代码具体该怎么写?请达人解答!
一旦解决,立即结贴!
在线等待~~~谢谢各位!