{"action":"opened","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/5760","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-js","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/5760/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/5760/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/5760/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/5760","id":277541304,"number":5760,"title":"zoom values in expressions get rounded up / down","user":{"login":"shongololo","id":4347878,"avatar_url":"https://avatars1.githubusercontent.com/u/4347878?v=4","gravatar_id":"","url":"https://api.github.com/users/shongololo","html_url":"https://github.com/shongololo","followers_url":"https://api.github.com/users/shongololo/followers","following_url":"https://api.github.com/users/shongololo/following{/other_user}","gists_url":"https://api.github.com/users/shongololo/gists{/gist_id}","starred_url":"https://api.github.com/users/shongololo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shongololo/subscriptions","organizations_url":"https://api.github.com/users/shongololo/orgs","repos_url":"https://api.github.com/users/shongololo/repos","events_url":"https://api.github.com/users/shongololo/events{/privacy}","received_events_url":"https://api.github.com/users/shongololo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-28T21:18:31Z","updated_at":"2017-11-28T21:18:31Z","closed_at":null,"author_association":"NONE","body":"**mapbox-gl-js version**: 0.42.2\r\n\r\n### Steps to Trigger Behavior\r\n\r\nCreate a style expression, for example:\r\n```\r\n\"paint\": {\r\n        \"fill-extrusion-color\": \"white\",\r\n        \"fill-extrusion-height\": [\r\n          \"interpolate\", [\"linear\"], [\"zoom\"],\r\n          15.1, 0,\r\n          15.5, [\"number\", [\"get\", \"height\"]]\r\n        ]\r\n      }\r\n```\r\n### Expected Behavior\r\nExpected behaviour is that the height value will be interpolated between `15.1` and `15.5`.\r\n\r\n### Actual Behavior\r\nStarting height value is rounded down to `15` and ending height value is rounded up to `16`."}}
{"actor":{"display_login":"shongololo"}}