Jump to content

Binary digits: Difference between revisions

m
(→‎Roc: add)
imported>Arakov
Line 2,211:
 
=={{header|Elena}}==
ELENA 56.0x :
<syntaxhighlight lang="elena">import system'routines;
import extensions;
Line 2,217:
public program()
{
new int[]{5,50,9000}.forEach::(n)
{
console.printLine(n.toString(2))
Line 2,228:
10001100101000
</pre>
 
=={{header|Elixir}}==
Use <code>Integer.to_string</code> with a base of 2:
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.