On 10/31/21 01:43, Shlomi Fish wrote:


("" ~ sqrt(2)).comb().grep(* ne ".").map(+*)
(1 4 1 4 2 1 3 5 6 2 3 7 3 0 9 5 1)

Cool!

my Int @x = ("" ~ sqrt(2)).comb().grep(* ne ".").map(+*)
[1 4 1 4 2 1 3 5 6 2 3 7 3 0 9 5 1]

Is there a way to set how many digits I get?

Reply via email to