{"action":"closed","issue":{"url":"https://api.github.com/repos/JamesPHoughton/pysd/issues/32","labels_url":"https://api.github.com/repos/JamesPHoughton/pysd/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/JamesPHoughton/pysd/issues/32/comments","events_url":"https://api.github.com/repos/JamesPHoughton/pysd/issues/32/events","html_url":"https://github.com/JamesPHoughton/pysd/issues/32","id":90443893,"number":32,"title":"Error with integer division","user":{"login":"JamesPHoughton","id":4304478,"avatar_url":"https://avatars.githubusercontent.com/u/4304478?v=3","gravatar_id":"","url":"https://api.github.com/users/JamesPHoughton","html_url":"https://github.com/JamesPHoughton","followers_url":"https://api.github.com/users/JamesPHoughton/followers","following_url":"https://api.github.com/users/JamesPHoughton/following{/other_user}","gists_url":"https://api.github.com/users/JamesPHoughton/gists{/gist_id}","starred_url":"https://api.github.com/users/JamesPHoughton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamesPHoughton/subscriptions","organizations_url":"https://api.github.com/users/JamesPHoughton/orgs","repos_url":"https://api.github.com/users/JamesPHoughton/repos","events_url":"https://api.github.com/users/JamesPHoughton/events{/privacy}","received_events_url":"https://api.github.com/users/JamesPHoughton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JamesPHoughton/pysd/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-23T17:27:24Z","updated_at":"2015-06-23T21:50:28Z","closed_at":"2015-06-23T21:50:28Z","body":"When importing constants from vensim, python treats whole numbers as integers. This makes division yield unexpected results.\r\n```\r\n    >>> a = 3\r\n    >>> b = 4\r\n    >>> a/b\r\n    0\r\n```\r\nIdeally, all numbers we deal with should be floats. One of the ways we may choose to deal with this is through the inclusion of `cython` which adds static types and helps with code performance."}}