dollar formatting a number

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

dollar formatting a number

Sam Overdorf
I have frequently used basic for programming.
Basic has a very nice number formatting command "print using" which
can format dollar amounts.

Is there something similar to this for erlang?

Thanks,
Sam Overdorf
[hidden email]
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: dollar formatting a number

lmdthel
Hi Sam

Look at io_lib:format

Thomas
søn. 18. mar. 2018 kl. 07.15 skrev Sam Overdorf <[hidden email]>:
I have frequently used basic for programming.
Basic has a very nice number formatting command "print using" which
can format dollar amounts.

Is there something similar to this for erlang?

Thanks,
Sam Overdorf
[hidden email]
_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions