Printing very large numbers without e
Wed Jul 22 05:28:17 CEST 2009
Maybe (or maybe not) you are meaning...
io:format("~w~n", [1000000 div 2]).
On Jul 21, 9:59 pm, "Yves S. Garret" <yoursurrogate...@REDACTED>
> I'm not sure where to get an answer to this question. Say I want
> to see an integer printed out, but I don't want the e in the middle of
> my number.
> 1> io:format("~w~n", [1000000 / 2]).
> How can I get 500000? I've looked at the documentation and couldn't
> find anything that would give me the whole number without e. Did I
> miss something?
> erlang-questions mailing list. Seehttp://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
More information about the erlang-questions