Logo

Programming-Idioms

History of Idiom 55 > diff from v50 to v51

Edit summary for version 51 by programming-idioms.org:
[Elixir] DemoURL

Version 50

2016-11-27, 14:55:22

Version 51

2016-11-30, 20:48:01

Idiom #55 Convert integer to string

Create the string representation s (in radix 10) of integer value i.

Illustration

Idiom #55 Convert integer to string

Create the string representation s (in radix 10) of integer value i.

Illustration
Extra Keywords
int base radix conversion
Extra Keywords
int base radix conversion
Code
s = Integer.to_string(i)
Code
s = Integer.to_string(i)
Doc URL
http://elixir-lang.org/docs/v1.0/elixir/Integer.html#to_string/1
Doc URL
http://elixir-lang.org/docs/v1.0/elixir/Integer.html#to_string/1
Demo URL
http://play.elixirbyexample.com/s/6d5cafc2b7
Demo URL
http://play.elixirbyexample.com/s/3a222c1ed8