WebAPI decimal精度丢失问题(序列化json后):
net 4.x:
修改 添加以下代码 Global.ascx.cs
GlobalConfiguration.Configuration.Formatters.JsonFormatter.SerializerSettings.Culture = new CultureInfo(string.Empty) { NumberFormat = new NumberFormatInfo { CurrencyDecimalDigits = 5 } };