io:format without IoDevice

Torbjörn Törnkvist tobbe@REDACTED
Thu May 6 09:55:55 CEST 2004


Dustin Sallings wrote:

>
>     Is there an sprintf like thing available?  I'm a little 
> dissatisfied with float_to_list for my output needs.  I'd also like to 
> feed through some of the other stuff ~p does.

Try: io_lib:format/2

BTW: Would be fun if there were more traffic on the Erlang chat.
(To try, use e.g chatzilla, click on freenode, choose a nickname, type: 
/join erlang)

Cheers, Tobbe




More information about the erlang-questions mailing list