say .fmt("%b") for 5, 50, 9000;
101 110010 10001100101000
Alternatively:
say .base(2) for 5, 50, 9000;
Last updated 11 months ago