{"action":"created","issue":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/223","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/223/comments","events_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/223/events","html_url":"https://github.com/bridgedotnet/Bridge/issues/223","id":71695474,"number":223,"title":"[Core] Arithmetic operation differences compared to .Net","user":{"login":"LeonidVeriga","id":11466613,"avatar_url":"https://avatars.githubusercontent.com/u/11466613?v=3","gravatar_id":"","url":"https://api.github.com/users/LeonidVeriga","html_url":"https://github.com/LeonidVeriga","followers_url":"https://api.github.com/users/LeonidVeriga/followers","following_url":"https://api.github.com/users/LeonidVeriga/following{/other_user}","gists_url":"https://api.github.com/users/LeonidVeriga/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonidVeriga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonidVeriga/subscriptions","organizations_url":"https://api.github.com/users/LeonidVeriga/orgs","repos_url":"https://api.github.com/users/LeonidVeriga/repos","events_url":"https://api.github.com/users/LeonidVeriga/events{/privacy}","received_events_url":"https://api.github.com/users/LeonidVeriga/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bridgedotnet/Bridge/labels/feature","name":"feature","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"vladsch","id":378225,"avatar_url":"https://avatars.githubusercontent.com/u/378225?v=3","gravatar_id":"","url":"https://api.github.com/users/vladsch","html_url":"https://github.com/vladsch","followers_url":"https://api.github.com/users/vladsch/followers","following_url":"https://api.github.com/users/vladsch/following{/other_user}","gists_url":"https://api.github.com/users/vladsch/gists{/gist_id}","starred_url":"https://api.github.com/users/vladsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladsch/subscriptions","organizations_url":"https://api.github.com/users/vladsch/orgs","repos_url":"https://api.github.com/users/vladsch/repos","events_url":"https://api.github.com/users/vladsch/events{/privacy}","received_events_url":"https://api.github.com/users/vladsch/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/11","html_url":"https://github.com/bridgedotnet/Bridge/milestones/1.8","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/11/labels","id":1209755,"number":11,"title":"1.8","description":"Might be released earlier.","creator":{"login":"geoffreymcgill","id":62210,"avatar_url":"https://avatars.githubusercontent.com/u/62210?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffreymcgill","html_url":"https://github.com/geoffreymcgill","followers_url":"https://api.github.com/users/geoffreymcgill/followers","following_url":"https://api.github.com/users/geoffreymcgill/following{/other_user}","gists_url":"https://api.github.com/users/geoffreymcgill/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffreymcgill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffreymcgill/subscriptions","organizations_url":"https://api.github.com/users/geoffreymcgill/orgs","repos_url":"https://api.github.com/users/geoffreymcgill/repos","events_url":"https://api.github.com/users/geoffreymcgill/events{/privacy}","received_events_url":"https://api.github.com/users/geoffreymcgill/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":66,"state":"closed","created_at":"2015-07-15T17:21:04Z","updated_at":"2015-08-28T13:49:23Z","due_on":"2015-08-17T06:00:00Z","closed_at":"2015-08-20T01:53:17Z"},"comments":8,"created_at":"2015-04-28T20:32:14Z","updated_at":"2015-09-07T16:36:08Z","closed_at":"2015-08-28T13:49:23Z","body":"I'm not sure whether it is a feature or bug, and what we can do with that.\r\n\r\n```C#\r\nusing Bridge;\r\nusing Bridge.Html5;\r\nusing System;\r\nusing System.Collections.Generic;\r\nusing System.Linq;\r\n\r\nnamespace Demo\r\n{\r\n    public class App\r\n    {\r\n        [Ready]\r\n        public static void Main()\r\n        {\r\n            var number1 = (double)11 / 3;\r\n            Console.Log(\"       Actual: \" + number1);\r\n            Console.Log(\".Net expected: 3.66666666666667\");\r\n\r\n            double number2 = 1.7 * 2.3 * 1.9 * 4.1 * 2.9;\r\n            Console.Log(\"       Actual: \" + number2);\r\n            Console.Log(\".Net expected: 88.33081\");\r\n        }\r\n    }\r\n}\r\n```\r\nActual and expected results:\r\n```\r\n           Actual: 3.6666666666666665\r\n    Net expected:  3.66666666666667\r\n\r\n           Actual: 88.33080999999999\r\n    Net expected:  88.33081\r\n```"},"comment":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/comments/138336838","html_url":"https://github.com/bridgedotnet/Bridge/issues/223#issuecomment-138336838","issue_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/223","id":138336838,"user":{"login":"DaniilVeriga","id":1510884,"avatar_url":"https://avatars.githubusercontent.com/u/1510884?v=3","gravatar_id":"","url":"https://api.github.com/users/DaniilVeriga","html_url":"https://github.com/DaniilVeriga","followers_url":"https://api.github.com/users/DaniilVeriga/followers","following_url":"https://api.github.com/users/DaniilVeriga/following{/other_user}","gists_url":"https://api.github.com/users/DaniilVeriga/gists{/gist_id}","starred_url":"https://api.github.com/users/DaniilVeriga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DaniilVeriga/subscriptions","organizations_url":"https://api.github.com/users/DaniilVeriga/orgs","repos_url":"https://api.github.com/users/DaniilVeriga/repos","events_url":"https://api.github.com/users/DaniilVeriga/events{/privacy}","received_events_url":"https://api.github.com/users/DaniilVeriga/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T16:36:08Z","updated_at":"2015-09-07T16:36:08Z","body":"Thank you for the follow-up, Leonid. I realized that I compared the .NET result for double values with JavaScript result for decimal values. If compare results for decimal values, they are identical. Sorry for bothering."}}