带有小数的.NET OData错误:types不匹配

我目前正试图摆脱OData错误,这看起来像一个小数parsing/反序列化的问题。

我在ASP.NET MVC应用程序中使用OData API(使用System.Web.Http.OData库),用户可以下载指向OData API的OData Feed文件* .odc。 当OData API响应中有小数时,如

<d:Value m:type="Edm.Decimal">50.50</d:Value> 

并且用户想要在Excel中打开OData Feed文件(在Excel 2016上testing)来获取数据,他会得到一个错误:

 We couldn't get data from the Data Model. Here's the error message we got: The following system error occurred: Type mismatch. 

什么是intersting是没有错误,当十进制值没有小数部分,如下所示:

 <d:Value m:type="Edm.Decimal">50.00</d:Value> 

这里是完整的API响应(挖掘出url):

 <?xml version="1.0" encoding="utf-8"?> <feed xml:base="xxxxxxxxx" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml"> <id>http://schemas.datacontract.org/2004/07/</id> <title /> <updated>2016-06-22T11:01:10Z</updated> <link rel="self" href="xxxxxxxxxxxxx" /> <entry> <id>xxxxx</id> <category term="Itm.Erp.Domain.Finance.CashRegistryListView" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /> <link rel="edit" href="xxxx" /> <link rel="self" href="xxxx" /> <title /> <updated>2016-06-22T11:01:10Z</updated> <author> <name /> </author> <content type="application/xml"> <m:properties> <d:Number>001</d:Number> <d:Location m:null="true" /> <d:Direction>In</d:Direction> <d:Person>Sam</d:Person> <d:Company>Company</d:Company> <d:Date m:type="Edm.DateTime">2016-06-06T00:00:00</d:Date> <d:IsProcessed m:type="Edm.Boolean">true</d:IsProcessed> <d:ExpenseType m:null="true" /> <d:Value m:type="Edm.Decimal">50.50</d:Value> <d:EffectiveValue m:type="Edm.Decimal">50.50</d:EffectiveValue> <d:Seller m:null="true" /> <d:DocumentNumber m:null="true" /> </m:properties> </content> </entry> </feed> 

API响应中的小数有什么问题,有没有办法解决这个问题? 有没有人有类似的问题,并设法解决它?