Hi all,
I am having trouble working with the decimal data type in the client side js. I am returning this custom object that has decimal properties. When I try to ready the value of these properties in javascript I get an object type.
How can I get the values?
Decimal should be working well. e.g. I just tested with a simple EchoDecimal method, and it correctly round trips the number I pass in:
[WebMethod]
publicDecimal EchoDecimal(Decimal de) {
return de;
}
What do you mean by "I get an object type"? Have you tried using fiddler to make sure the data over the wire looks proper?
David
No comments:
Post a Comment