{"action":"closed","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/1789","labels_url":"https://api.github.com/repos/godotengine/godot/issues/1789/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/1789/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/1789/events","html_url":"https://github.com/godotengine/godot/issues/1789","id":72771283,"number":1789,"title":"Float rounding","user":{"login":"BBric","id":11861704,"avatar_url":"https://avatars.githubusercontent.com/u/11861704?v=3","gravatar_id":"","url":"https://api.github.com/users/BBric","html_url":"https://github.com/BBric","followers_url":"https://api.github.com/users/BBric/followers","following_url":"https://api.github.com/users/BBric/following{/other_user}","gists_url":"https://api.github.com/users/BBric/gists{/gist_id}","starred_url":"https://api.github.com/users/BBric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BBric/subscriptions","organizations_url":"https://api.github.com/users/BBric/orgs","repos_url":"https://api.github.com/users/BBric/repos","events_url":"https://api.github.com/users/BBric/events{/privacy}","received_events_url":"https://api.github.com/users/BBric/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/godotengine/godot/labels/archived","name":"archived","color":"888888"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-03T08:23:41Z","updated_at":"2015-11-16T14:17:16Z","closed_at":"2015-11-16T14:17:16Z","body":"```GDScript\r\nvar n1 = floor(0.220 * 100) / 100\r\nvar n2 = floor(0.221 * 100) / 100\r\nprint(n1) # 0.21 ?\r\nprint(n2) # 0.22\r\nprint(n1 == 0.21) # false ? (should be false if n1 == 0.22 but should be true if n1 == 0.21)\r\nprint(n1 == 0.22) # false ?\r\nprint(n2 == 0.22) # false ?\r\n```"}}