{"action":"created","issue":{"url":"https://api.github.com/repos/otcshare/iotivity-node/issues/87","repository_url":"https://api.github.com/repos/otcshare/iotivity-node","labels_url":"https://api.github.com/repos/otcshare/iotivity-node/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/otcshare/iotivity-node/issues/87/comments","events_url":"https://api.github.com/repos/otcshare/iotivity-node/issues/87/events","html_url":"https://github.com/otcshare/iotivity-node/issues/87","id":187905634,"number":87,"title":"iotivity-node should preserve the type of numbers in the payload","user":{"login":"ttzeng","id":1763431,"avatar_url":"https://avatars.githubusercontent.com/u/1763431?v=3","gravatar_id":"","url":"https://api.github.com/users/ttzeng","html_url":"https://github.com/ttzeng","followers_url":"https://api.github.com/users/ttzeng/followers","following_url":"https://api.github.com/users/ttzeng/following{/other_user}","gists_url":"https://api.github.com/users/ttzeng/gists{/gist_id}","starred_url":"https://api.github.com/users/ttzeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttzeng/subscriptions","organizations_url":"https://api.github.com/users/ttzeng/orgs","repos_url":"https://api.github.com/users/ttzeng/repos","events_url":"https://api.github.com/users/ttzeng/events{/privacy}","received_events_url":"https://api.github.com/users/ttzeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-08T05:32:32Z","updated_at":"2016-11-08T15:37:20Z","closed_at":null,"body":"It seems iotivity-node will send out integer numbers in the property payload if the floating numbers in the committed payload are fixed numbers. For example, if modify the [ambient_light.js](https://github.com/01org/SmartHome-Demo/blob/master/ocf-servers/js-servers/ambient_light.js) in the SmartHome demo to send out fixed illuminance value 'lux = 10.0' in the property to observers, the observers will get the illuminance property of type integers instead of floating numbers."},"comment":{"url":"https://api.github.com/repos/otcshare/iotivity-node/issues/comments/259169923","html_url":"https://github.com/otcshare/iotivity-node/issues/87#issuecomment-259169923","issue_url":"https://api.github.com/repos/otcshare/iotivity-node/issues/87","id":259169923,"user":{"login":"zolkis","id":996058,"avatar_url":"https://avatars.githubusercontent.com/u/996058?v=3","gravatar_id":"","url":"https://api.github.com/users/zolkis","html_url":"https://github.com/zolkis","followers_url":"https://api.github.com/users/zolkis/followers","following_url":"https://api.github.com/users/zolkis/following{/other_user}","gists_url":"https://api.github.com/users/zolkis/gists{/gist_id}","starred_url":"https://api.github.com/users/zolkis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zolkis/subscriptions","organizations_url":"https://api.github.com/users/zolkis/orgs","repos_url":"https://api.github.com/users/zolkis/repos","events_url":"https://api.github.com/users/zolkis/events{/privacy}","received_events_url":"https://api.github.com/users/zolkis/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T15:37:20Z","updated_at":"2016-11-08T15:37:20Z","body":"It seemed to me that you want to cast from integer to double in the code, not the other way around."}}
{"actor":{"display_login":"zolkis"}}