{"action":"created","issue":{"url":"https://api.github.com/repos/josdejong/mathjs/issues/455","labels_url":"https://api.github.com/repos/josdejong/mathjs/issues/455/labels{/name}","comments_url":"https://api.github.com/repos/josdejong/mathjs/issues/455/comments","events_url":"https://api.github.com/repos/josdejong/mathjs/issues/455/events","html_url":"https://github.com/josdejong/mathjs/issues/455","id":104829292,"number":455,"title":"Getting leading zeros when displayMode = 'exponential'","user":{"login":"sonnyk22","id":6744710,"avatar_url":"https://avatars.githubusercontent.com/u/6744710?v=3","gravatar_id":"","url":"https://api.github.com/users/sonnyk22","html_url":"https://github.com/sonnyk22","followers_url":"https://api.github.com/users/sonnyk22/followers","following_url":"https://api.github.com/users/sonnyk22/following{/other_user}","gists_url":"https://api.github.com/users/sonnyk22/gists{/gist_id}","starred_url":"https://api.github.com/users/sonnyk22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonnyk22/subscriptions","organizations_url":"https://api.github.com/users/sonnyk22/orgs","repos_url":"https://api.github.com/users/sonnyk22/repos","events_url":"https://api.github.com/users/sonnyk22/events{/privacy}","received_events_url":"https://api.github.com/users/sonnyk22/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/josdejong/mathjs/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-04T04:37:49Z","updated_at":"2015-09-05T15:04:05Z","closed_at":null,"body":"I have the code below to evaluate 5555 * 5555:\r\n   var result = mathjs.eval('5555 * 5555');\r\n   var disResult = mathjs.format(result, { notation: _displayMode, precision: 11});\r\n\r\nWhen _displayMode = 'auto', I get the disResult = 3.0858025e+7  \r\nbut, when _displayMode = 'exponential', I get the disResult = 3.0858025000e+7\r\n\r\nHow can I get results back without leading zeros when _displayMode = 'exponential'? \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/josdejong/mathjs/issues/comments/137963427","html_url":"https://github.com/josdejong/mathjs/issues/455#issuecomment-137963427","issue_url":"https://api.github.com/repos/josdejong/mathjs/issues/455","id":137963427,"user":{"login":"sonnyk22","id":6744710,"avatar_url":"https://avatars.githubusercontent.com/u/6744710?v=3","gravatar_id":"","url":"https://api.github.com/users/sonnyk22","html_url":"https://github.com/sonnyk22","followers_url":"https://api.github.com/users/sonnyk22/followers","following_url":"https://api.github.com/users/sonnyk22/following{/other_user}","gists_url":"https://api.github.com/users/sonnyk22/gists{/gist_id}","starred_url":"https://api.github.com/users/sonnyk22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonnyk22/subscriptions","organizations_url":"https://api.github.com/users/sonnyk22/orgs","repos_url":"https://api.github.com/users/sonnyk22/repos","events_url":"https://api.github.com/users/sonnyk22/events{/privacy}","received_events_url":"https://api.github.com/users/sonnyk22/received_events","type":"User","site_admin":false},"created_at":"2015-09-05T15:04:05Z","updated_at":"2015-09-05T15:04:05Z","body":"Thank you!"}}