Jump to content

Binary digits: Difference between revisions

m
Line 2,106:
=={{header|Dyalect}}==
 
A default <code>toStringToString</code> method of type <code>Integer</code> is overriden and returns a binary representation of a number:
 
<lang dyalect>func Integer.toStringToString() {
var s = ""
for x in 31^-1..0 {
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.