I have an ASMX client that receives an object in a response. This object contains properties and one of them is of type float.
Then I serialize response object and tranform it with XSLT to display it to users.
However, when value of that property is 10000000 then it's displayed as 1E+07 which is wrong.
When I change type of property in proxy class to double then it's again 10000000. But I am not sure if this is a solid solution.
I tried also XSLT format-number but XSLT 1.0 has not support for scientific notation.
Change the property to decimal
type. That is the approach with which you are guaranteed to see no silent loss of precision, and no scientific notation.