{ "id": "63967", "key": "TIMOB-3335", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11356", "description": "Mobile 1.8.0 M03", "name": "Sprint 2011-24", "archived": true, "released": true, "releaseDate": "2011-06-20" }, { "id": "11570", "description": "", "name": "Release 1.7.2", "archived": true, "released": true, "releaseDate": "2011-07-21" }, { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-11-05T13:40:14.000+0000", "created": "2011-04-15T03:42:27.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "11260", "description": "", "name": "Release 1.6.2", "archived": true, "released": true, "releaseDate": "2011-04-20" } ], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-11-05T13:40:14.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}
For droid, the following example fails as the setDouble and\r\ngetDouble function convert the double to float and loss of\r\nprecision occurs:
\r\n\r\nvar now = new Date();\r\nvar a = now.getTime();\r\nTi.App.Properties.setDouble('SessionIDTimeStamp', a );\r\n \r\nvar b = Ti.App.Properties.getDouble('SessionIDTimeStamp');\r\nTi.API.error(\"After: \" + Ti.App.Properties.getDouble('SessionIDTimeStamp'));\r\n\r\nif(a == b)\r\n{\r\n Ti.API.error(\"They are equal.\");\r\n}\r\nelse\r\n{\r\n Ti.API.error(\"They are not equal.....???\");\r\n}
\r\n
here's the pull request for the fix: https://github.com/appcelerator/titanium_mobile/pull/79\n.