Math::BigRat

Allows you to use arbitrarily big rationals. Math::BigRat is shipped with the Perl 5.8 source kit.

For example:

#!/usr/local/bin/perl -w
use Math::BigRat;
my $rat = Math::BigRat->new('2/7'),
 
print $rat->bstr(), "
";

Math::BigRat implements the following methods.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.183.210