{"action":"opened","issue":{"url":"https://api.github.com/repos/tevador/moddable/issues/3","repository_url":"https://api.github.com/repos/tevador/moddable","labels_url":"https://api.github.com/repos/tevador/moddable/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/tevador/moddable/issues/3/comments","events_url":"https://api.github.com/repos/tevador/moddable/issues/3/events","html_url":"https://github.com/tevador/moddable/issues/3","id":332924293,"node_id":"MDU6SXNzdWUzMzI5MjQyOTM=","number":3,"title":"Rounding","user":{"login":"tevador","id":37503146,"node_id":"MDQ6VXNlcjM3NTAzMTQ2","avatar_url":"https://avatars2.githubusercontent.com/u/37503146?v=4","gravatar_id":"","url":"https://api.github.com/users/tevador","html_url":"https://github.com/tevador","followers_url":"https://api.github.com/users/tevador/followers","following_url":"https://api.github.com/users/tevador/following{/other_user}","gists_url":"https://api.github.com/users/tevador/gists{/gist_id}","starred_url":"https://api.github.com/users/tevador/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tevador/subscriptions","organizations_url":"https://api.github.com/users/tevador/orgs","repos_url":"https://api.github.com/users/tevador/repos","events_url":"https://api.github.com/users/tevador/events{/privacy}","received_events_url":"https://api.github.com/users/tevador/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-15T21:52:36Z","updated_at":"2018-06-15T21:52:36Z","closed_at":null,"author_association":"OWNER","body":"Nonstandard rounding is used when converting a number to decimal string.\r\n\r\nXS:\r\n```\r\n./xst -e \"print(17876395023154640000/-13528.07885)\r\n-1321428949473830.3\r\n```\r\nV8:\r\n```\r\nnode-e \"console.log(17876395023154640000/-13528.07885)\r\n-1321428949473830.2\r\n```\r\n\r\nThe correct value is `-1321428949473830.25` and should be rounded to `-1321428949473830.2` using the standard 'roundTiesToEven' mode. "}}
{"actor":{"display_login":"tevador"}}