Binary digits: Difference between revisions
→Joy: create a proper string for better reusability
(→min: define 'bin' as a proper operator) |
(→Joy: create a proper string for better reusability) |
||
Line 2,892:
9000 -> 一〇〇〇一一〇〇一〇一〇〇〇</pre>
=={{header|Joy}}==
<syntaxhighlight lang="joy">
{{out}}
<pre>["0" "1" "10" "101" "110010" "10001100101000"]</pre>
▲9000 int2bin.</syntaxhighlight>
=={{header|jq}}==
<syntaxhighlight lang="jq">def binary_digits:
|