Math::BaseCnv 1.2.59M7mRX review
DownloadMath::BaseCnv is a fast functions to convert between number bases. SYNOPSIS use Math::BaseCnv; # Convert 63 from base-10
|
|
Math::BaseCnv is a fast functions to convert between number bases.
SYNOPSIS
use Math::BaseCnv;
# Convert 63 from base-10 (decimal) to base-2 (binary)
$binary_63 = cnv( 63, 10, 2 );
BaseCnv provides a few simple functions for converting between arbitrary number bases. It is as fast as I currently know how to make it (of course relying only on the lovely Perl). If you would rather utilize an object syntax for number-base conversion, please see Ken Williams's fine Math::BaseCalc module.
Requirements:
Perl
Math::BaseCnv 1.2.59M7mRX search tags