随笔 - 52
文章 - 0
评论 - 31
阅读 -
18万
12 2009 档案
如何在非英文环境中正确显示数字
摘要:以前比较孤陋寡闻,今天才知道德语中小数点是显示为","的,例如1.5在德文中应该显示为1,5。如果要在德文下面正确显示要象下面这样写才对。Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->NumberFormatInfonumberInfo=CultureInfo.CurrentCulture.NumberFormat;doublemyAmount=1.5;MessageBox.Show(myAmount.ToString(
阅读全文