2012-01-07 68 views

回答

5

十進制Parse方法有一個重載可以使用:

decimal d = Decimal.Parse("2.71e+006", System.Globalization.NumberStyles.Float); 

你也可以做同樣的雙。