Logo

Programming-Idioms

History of Idiom 76 > diff from v52 to v53

Edit summary for version 53 by programming-idioms.org:
Admin deletes impl 1501: Does not convert x to a string

Version 52

2019-07-09, 02:22:44

Version 53

2019-07-10, 12:19:16

Idiom #76 Binary digits from an integer

Create the string s of integer x written in base 2.

E.g. 13 -> "1101"

Idiom #76 Binary digits from an integer

Create the string s of integer x written in base 2.

E.g. 13 -> "1101"

Extra Keywords
int radix
Extra Keywords
int radix
Code
var s = Convert.ToInt64("0100000", 2);