{"action":"created","issue":{"url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/185","labels_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/185/comments","events_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/185/events","html_url":"https://github.com/aldeed/meteor-collection2/issues/185","id":58541106,"number":185,"title":"Unable to use floating point numbers for Number type.","user":{"login":"jleach","id":390891,"avatar_url":"https://avatars.githubusercontent.com/u/390891?v=3","gravatar_id":"","url":"https://api.github.com/users/jleach","html_url":"https://github.com/jleach","followers_url":"https://api.github.com/users/jleach/followers","following_url":"https://api.github.com/users/jleach/following{/other_user}","gists_url":"https://api.github.com/users/jleach/gists{/gist_id}","starred_url":"https://api.github.com/users/jleach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleach/subscriptions","organizations_url":"https://api.github.com/users/jleach/orgs","repos_url":"https://api.github.com/users/jleach/repos","events_url":"https://api.github.com/users/jleach/events{/privacy}","received_events_url":"https://api.github.com/users/jleach/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-23T04:25:11Z","updated_at":"2015-10-06T17:32:01Z","closed_at":"2015-02-23T17:20:48Z","body":"I have a Number data type in the schema but am unable to store floating point numbers in it:\r\n\r\n```\r\nSchema.Coordinates = new SimpleSchema({\r\n    lng: {\r\n    \ttype: Number,\r\n    \tmin: -180.0,\r\n    \tmax: 180.0\r\n    },\r\n    lat: {\r\n    \ttype: Number,\r\n    \tmin: -90.0,\r\n    \tmax: 90.0\r\n    }\r\n});\r\n```\r\n\r\nWhen I try to insert anything other than an integer (anything with xxxx.0) I get a validation error:\r\n```\r\nW20150222-20:24:23.523(-8)? (STDERR) Error: Lng must be an integer\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/comments/145936554","html_url":"https://github.com/aldeed/meteor-collection2/issues/185#issuecomment-145936554","issue_url":"https://api.github.com/repos/aldeed/meteor-collection2/issues/185","id":145936554,"user":{"login":"jedwards1211","id":1448194,"avatar_url":"https://avatars.githubusercontent.com/u/1448194?v=3","gravatar_id":"","url":"https://api.github.com/users/jedwards1211","html_url":"https://github.com/jedwards1211","followers_url":"https://api.github.com/users/jedwards1211/followers","following_url":"https://api.github.com/users/jedwards1211/following{/other_user}","gists_url":"https://api.github.com/users/jedwards1211/gists{/gist_id}","starred_url":"https://api.github.com/users/jedwards1211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jedwards1211/subscriptions","organizations_url":"https://api.github.com/users/jedwards1211/orgs","repos_url":"https://api.github.com/users/jedwards1211/repos","events_url":"https://api.github.com/users/jedwards1211/events{/privacy}","received_events_url":"https://api.github.com/users/jedwards1211/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T17:32:01Z","updated_at":"2015-10-06T17:32:01Z","body":"@aldeed I see, yeah that's always a tough situation.  If you decide to you could try having a deprecation with ample console warnings phase like React is currently doing for their transition from 0.13 to 0.14.  I'm glad you agree though :)"}}