{"action":"created","issue":{"url":"https://api.github.com/repos/arduino/Arduino/issues/4919","repository_url":"https://api.github.com/repos/arduino/Arduino","labels_url":"https://api.github.com/repos/arduino/Arduino/issues/4919/labels{/name}","comments_url":"https://api.github.com/repos/arduino/Arduino/issues/4919/comments","events_url":"https://api.github.com/repos/arduino/Arduino/issues/4919/events","html_url":"https://github.com/arduino/Arduino/issues/4919","id":152764763,"number":4919,"title":"Arduino 101 concatenating float/double to string as wrong value for -1 to 0","user":{"login":"sanelss","id":1910265,"avatar_url":"https://avatars.githubusercontent.com/u/1910265?v=3","gravatar_id":"","url":"https://api.github.com/users/sanelss","html_url":"https://github.com/sanelss","followers_url":"https://api.github.com/users/sanelss/followers","following_url":"https://api.github.com/users/sanelss/following{/other_user}","gists_url":"https://api.github.com/users/sanelss/gists{/gist_id}","starred_url":"https://api.github.com/users/sanelss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanelss/subscriptions","organizations_url":"https://api.github.com/users/sanelss/orgs","repos_url":"https://api.github.com/users/sanelss/repos","events_url":"https://api.github.com/users/sanelss/events{/privacy}","received_events_url":"https://api.github.com/users/sanelss/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-03T12:47:03Z","updated_at":"2016-05-03T12:57:25Z","closed_at":"2016-05-03T12:57:25Z","body":"When adding a float/double type between the values of -1 to 0 it returns it as a positive number.. example code:\r\n\r\n```\r\nvoid setup() {\r\n  Serial.begin(115200);\r\n}\r\n\r\nvoid loop() {\r\n  String s=\"\";\r\n  float db=-0.5;\r\n  //db+=1.1; //doing this will make the string print positive 0.6 so the value is correct\r\n  s+=db;  //when adding double/float type to string you get a positive number for values of -1 to 0\r\n  Serial.println(s);\r\n  delay(100);\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/arduino/Arduino/issues/comments/216518678","html_url":"https://github.com/arduino/Arduino/issues/4919#issuecomment-216518678","issue_url":"https://api.github.com/repos/arduino/Arduino/issues/4919","id":216518678,"user":{"login":"facchinm","id":8843437,"avatar_url":"https://avatars.githubusercontent.com/u/8843437?v=3","gravatar_id":"","url":"https://api.github.com/users/facchinm","html_url":"https://github.com/facchinm","followers_url":"https://api.github.com/users/facchinm/followers","following_url":"https://api.github.com/users/facchinm/following{/other_user}","gists_url":"https://api.github.com/users/facchinm/gists{/gist_id}","starred_url":"https://api.github.com/users/facchinm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facchinm/subscriptions","organizations_url":"https://api.github.com/users/facchinm/orgs","repos_url":"https://api.github.com/users/facchinm/repos","events_url":"https://api.github.com/users/facchinm/events{/privacy}","received_events_url":"https://api.github.com/users/facchinm/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T12:57:25Z","updated_at":"2016-05-03T12:57:25Z","body":"Hi @sanelss ,\r\nthe issue had been fixed in mainline with this commit (https://github.com/01org/corelibs-arduino101/commit/7bd93b3baf802481282e32240fcfc1f941e36561), it will be published soon as `Curie core 1.0.6`.\r\nClosing as already fixed"}}