Topic
  • No replies
Zumesh
Zumesh
1 Post

Pinned topic BigDecimal values converting to Exponential notation

‏2014-06-13T06:56:41Z |

I am facing an issue when integrating WODM with .NET service. After necessary rule execution I am returning the output to .NET side where we are getting an exception while deserializing the response. This is caused by the conversion of BigDecimal value to exponential notation in the response.

For eg : If the BigDecimal value is 0.0000001 in the input, it is converted to 1E-7 in the output

We are facing same issue when we used Double instead of BigDecimal.

Is there any fix or solution for this?