#### History of Idiom 76 > diff from v15 to v16

Edit summary for version 16 :

↷

#### Version 15

2015-08-22, 15:30:04

#### Version 16

2015-08-22, 15:42:14

# 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"

##### Code

$s = sprintf ("%b", $x);