{"action":"created","issue":{"url":"https://api.github.com/repos/avh4/elm-format/issues/114","repository_url":"https://api.github.com/repos/avh4/elm-format","labels_url":"https://api.github.com/repos/avh4/elm-format/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/avh4/elm-format/issues/114/comments","events_url":"https://api.github.com/repos/avh4/elm-format/issues/114/events","html_url":"https://github.com/avh4/elm-format/issues/114","id":127331055,"number":114,"title":"Floats converting to scientific notation","user":{"login":"rtfeldman","id":1094080,"avatar_url":"https://avatars.githubusercontent.com/u/1094080?v=3","gravatar_id":"","url":"https://api.github.com/users/rtfeldman","html_url":"https://github.com/rtfeldman","followers_url":"https://api.github.com/users/rtfeldman/followers","following_url":"https://api.github.com/users/rtfeldman/following{/other_user}","gists_url":"https://api.github.com/users/rtfeldman/gists{/gist_id}","starred_url":"https://api.github.com/users/rtfeldman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtfeldman/subscriptions","organizations_url":"https://api.github.com/users/rtfeldman/orgs","repos_url":"https://api.github.com/users/rtfeldman/repos","events_url":"https://api.github.com/users/rtfeldman/events{/privacy}","received_events_url":"https://api.github.com/users/rtfeldman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/avh4/elm-format/labels/feature%20for%20developers","name":"feature for developers","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/avh4/elm-format/milestones/7","html_url":"https://github.com/avh4/elm-format/milestones/0.3.0%20public%20release%20candidate","labels_url":"https://api.github.com/repos/avh4/elm-format/milestones/7/labels","id":1531654,"number":7,"title":"0.3.0 public release candidate","description":"","creator":{"login":"avh4","id":1222,"avatar_url":"https://avatars.githubusercontent.com/u/1222?v=3","gravatar_id":"","url":"https://api.github.com/users/avh4","html_url":"https://github.com/avh4","followers_url":"https://api.github.com/users/avh4/followers","following_url":"https://api.github.com/users/avh4/following{/other_user}","gists_url":"https://api.github.com/users/avh4/gists{/gist_id}","starred_url":"https://api.github.com/users/avh4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avh4/subscriptions","organizations_url":"https://api.github.com/users/avh4/orgs","repos_url":"https://api.github.com/users/avh4/repos","events_url":"https://api.github.com/users/avh4/events{/privacy}","received_events_url":"https://api.github.com/users/avh4/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":6,"state":"open","created_at":"2016-01-21T19:14:11Z","updated_at":"2016-02-07T23:05:30Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-01-18T23:30:39Z","updated_at":"2016-02-07T23:53:49Z","closed_at":null,"body":"When I write `0.01` it gets converted to `1.0e-2` - this definitely reduces code clarity in some cases.\r\n\r\nCan it remember what style you used originally and keep that?"},"comment":{"url":"https://api.github.com/repos/avh4/elm-format/issues/comments/181143926","html_url":"https://github.com/avh4/elm-format/issues/114#issuecomment-181143926","issue_url":"https://api.github.com/repos/avh4/elm-format/issues/114","id":181143926,"user":{"login":"avh4","id":1222,"avatar_url":"https://avatars.githubusercontent.com/u/1222?v=3","gravatar_id":"","url":"https://api.github.com/users/avh4","html_url":"https://github.com/avh4","followers_url":"https://api.github.com/users/avh4/followers","following_url":"https://api.github.com/users/avh4/following{/other_user}","gists_url":"https://api.github.com/users/avh4/gists{/gist_id}","starred_url":"https://api.github.com/users/avh4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avh4/subscriptions","organizations_url":"https://api.github.com/users/avh4/orgs","repos_url":"https://api.github.com/users/avh4/repos","events_url":"https://api.github.com/users/avh4/events{/privacy}","received_events_url":"https://api.github.com/users/avh4/received_events","type":"User","site_admin":false},"created_at":"2016-02-07T23:53:49Z","updated_at":"2016-02-07T23:53:49Z","body":"I ended up using printf `%f` and `%e` for the two formats.  Surprisingly, there aren't really any options for changing how the exponents print other than uppercase vs lowercase."}}