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;

Number::More v0.2.1

Provides number base transform functions

Authors

  • Tom Browder

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • Number::More

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.