{"action":"created","issue":{"url":"https://api.github.com/repos/zdavatz/spreadsheet/issues/223","repository_url":"https://api.github.com/repos/zdavatz/spreadsheet","labels_url":"https://api.github.com/repos/zdavatz/spreadsheet/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/zdavatz/spreadsheet/issues/223/comments","events_url":"https://api.github.com/repos/zdavatz/spreadsheet/issues/223/events","html_url":"https://github.com/zdavatz/spreadsheet/issues/223","id":358216969,"node_id":"MDU6SXNzdWUzNTgyMTY5Njk=","number":223,"title":"Leading 0 in number fields","user":{"login":"itmart","id":10606050,"node_id":"MDQ6VXNlcjEwNjA2MDUw","avatar_url":"https://avatars0.githubusercontent.com/u/10606050?v=4","gravatar_id":"","url":"https://api.github.com/users/itmart","html_url":"https://github.com/itmart","followers_url":"https://api.github.com/users/itmart/followers","following_url":"https://api.github.com/users/itmart/following{/other_user}","gists_url":"https://api.github.com/users/itmart/gists{/gist_id}","starred_url":"https://api.github.com/users/itmart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itmart/subscriptions","organizations_url":"https://api.github.com/users/itmart/orgs","repos_url":"https://api.github.com/users/itmart/repos","events_url":"https://api.github.com/users/itmart/events{/privacy}","received_events_url":"https://api.github.com/users/itmart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-07T21:28:03Z","updated_at":"2018-09-11T06:27:14Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI have a spreadsheet with some account numbers and some of them start with 0 (for example `0123`) and when I tried to print out the rows like this:\r\n```\r\n@xls = Spreadsheet.open('./nscc.xls')\r\n@sheet = @xls.worksheet 0\r\n@sheet.each do |row|\r\n  row\r\nend\r\n```\r\nI see the account numbers are being printed as float, like `123.0`. Is there a way I can print it out as a string `0123` instead? Thanks for helping!"},"comment":{"url":"https://api.github.com/repos/zdavatz/spreadsheet/issues/comments/420161546","html_url":"https://github.com/zdavatz/spreadsheet/issues/223#issuecomment-420161546","issue_url":"https://api.github.com/repos/zdavatz/spreadsheet/issues/223","id":420161546,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDE2MTU0Ng==","user":{"login":"zdavatz","id":4953,"node_id":"MDQ6VXNlcjQ5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/4953?v=4","gravatar_id":"","url":"https://api.github.com/users/zdavatz","html_url":"https://github.com/zdavatz","followers_url":"https://api.github.com/users/zdavatz/followers","following_url":"https://api.github.com/users/zdavatz/following{/other_user}","gists_url":"https://api.github.com/users/zdavatz/gists{/gist_id}","starred_url":"https://api.github.com/users/zdavatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zdavatz/subscriptions","organizations_url":"https://api.github.com/users/zdavatz/orgs","repos_url":"https://api.github.com/users/zdavatz/repos","events_url":"https://api.github.com/users/zdavatz/events{/privacy}","received_events_url":"https://api.github.com/users/zdavatz/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T06:27:14Z","updated_at":"2018-09-11T06:27:14Z","author_association":"OWNER","body":"There is stuff in the file like _5078@_ and then there are many lines like _4508 4575 2028_.\r\n\r\nSo the formatting in the source file is not always the same. You need to put every cell into a string or similar. Then I guess it will work.\r\n\r\nThe _123.0_ is something Excel does."}}
{"actor":{"display_login":"zdavatz"}}