programming-examples/perl/Datatype/Big float.pl
2019-11-15 12:59:38 +01:00

9 lines
190 B
Perl

#/usr/bin/perl
use strict;
use warnings;
use Math::BigFloat;
my $bignum = Math::BigFloat->new(1);
print "Without BigFloat : ", 1/3, "\n";
print "With BigFloat : ", $bignum/3, "\n";