Serialiaze Json gives exponential value
Hi,
While am trying to serialiaze a numeric value, it appends ".0" at the end. In addition, if there are more than 7 digits, it seems to append some exponential character.
Example:
<cfset stc_test['add'] = 1234567/>
<cfset t1 = serializejson(stc_test)/>
<cfdump var="#t1#">
Result:
{"add":1234567.0}
<cfset stc_test['add'] = 12345678/>
<cfset t1 = serializejson(stc_test)/>
<cfdump var="#t1#">
Result:
{"add":1.2345678E7}
How can I avoid this?
