Please can someone help?
I'm parsing Facebook event data into my website and find that the event IDs are often huge numbers which creates problems in the script.
Investigating I found that the long numbers were being converted to scientific notation automatically when set into a variable.
My problem comes when I convert it back to a number, the value is slightly changed.
USING: IIS6, Classic ASP, VB Script
Example...
<%
Test = 1415720948649554
response.write Test & "<br/>"
response.write FormatNumber(Test,0,-2,-2, false)
%>
This results in...
1.41572094864955E+15
1415720948649550
Of course neither number being correct!!
Please, please help. I've spent hours trying to work this out.
Thanks
Matt