{"action":"opened","issue":{"url":"https://api.github.com/repos/joke2k/faker/issues/444","repository_url":"https://api.github.com/repos/joke2k/faker","labels_url":"https://api.github.com/repos/joke2k/faker/issues/444/labels{/name}","comments_url":"https://api.github.com/repos/joke2k/faker/issues/444/comments","events_url":"https://api.github.com/repos/joke2k/faker/issues/444/events","html_url":"https://github.com/joke2k/faker/issues/444","id":197733479,"number":444,"title":"random_number(digits=10)) generates number lesser than 10 digits sometimes","user":{"login":"maran0206","id":24565061,"avatar_url":"https://avatars.githubusercontent.com/u/24565061?v=3","gravatar_id":"","url":"https://api.github.com/users/maran0206","html_url":"https://github.com/maran0206","followers_url":"https://api.github.com/users/maran0206/followers","following_url":"https://api.github.com/users/maran0206/following{/other_user}","gists_url":"https://api.github.com/users/maran0206/gists{/gist_id}","starred_url":"https://api.github.com/users/maran0206/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maran0206/subscriptions","organizations_url":"https://api.github.com/users/maran0206/orgs","repos_url":"https://api.github.com/users/maran0206/repos","events_url":"https://api.github.com/users/maran0206/events{/privacy}","received_events_url":"https://api.github.com/users/maran0206/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-27T17:24:26Z","updated_at":"2016-12-27T17:24:26Z","closed_at":null,"body":"I used random_number(digits=10)) to generate 1000 random numbers and saved them in an excel. But I could able to see some numbers have only 7-9 digits in them. \r\nMy code:\r\n`import faker\r\nimport xlwt\r\n\r\n\r\ndata = faker.Faker()\r\n\r\nwk = xlwt.Workbook()\r\nws = wk.add_sheet(\"sheet1\")\r\n\r\n\r\nfor i in range(0,1000):\r\n    ws.write(i,0,data.first_name())\r\n    ws.write(i,1,data.last_name())\r\n    ws.write(i,2,data.email())\r\n    ws.write(i,3,data.random_number(digits=10))\r\n    ws.write(i,4,data.random_int(min=0, max=9999))\r\n\r\nwk.save(\"D:\\\\results.xlsx\")`\r\n[results.xlsx](https://github.com/joke2k/faker/files/674437/results.xlsx)\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"maran0206"}}