Logo

Programming-Idioms

History of Idiom 55 > diff from v86 to v87

Edit summary for version 87 by programming-idioms.org:
[JS] Variable names.

Version 86

2020-03-10, 18:58:23

Version 87

2020-03-16, 17:11:49

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
var a=123,b="";
b=a+"";
Code
var s = i + "";
Comments bubble
a:=the number
b:=the string