Thread overview
how to print "111000" out into 0b111000
Jan 19, 2022
michaelbi
Jan 19, 2022
Brian Callahan
Jan 19, 2022
MichaelBi
January 19, 2022

as captioned... thx.

January 19, 2022

On Wednesday, 19 January 2022 at 15:01:29 UTC, michaelbi wrote:

>

as captioned... thx.

import std.stdio;
import std.conv;

void main()
{
    writefln("0b%b", to!int("111000", 2));
}
January 19, 2022

On Wednesday, 19 January 2022 at 15:41:31 UTC, Brian Callahan wrote:

>

On Wednesday, 19 January 2022 at 15:01:29 UTC, michaelbi wrote:

>

as captioned... thx.

import std.stdio;
import std.conv;

void main()
{
    writefln("0b%b", to!int("111000", 2));
}

Got it, thanks