base2dec-simple
# @a contains the index of the digits of the number in the new base
my $x'b = '';
for @a -> $di {
my $digit = @dec2digit[$di];
$x'b ~= $digit;
}
return $x'b;
# @a contains the index of the digits of the number in the new base
my $x'b = '';
for @a -> $di {
my $digit = @dec2digit[$di];
$x'b ~= $digit;
}
return $x'b;
Provides number base transform functions
Artistic-2.0
Resoures
Learning
The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.