Math::Calc::Euro

Math::Calc::Euro is a Perl module to convert between EUR and the old currencies.
Download

Math::Calc::Euro Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Juerd
  • Publisher web site:
  • http://search.cpan.org/~juerd/Math-Calc-Euro-0.02/Euro.pm

Math::Calc::Euro Tags


Math::Calc::Euro Description

Math::Calc::Euro is a Perl module to convert between EUR and the old currencies. Math::Calc::Euro is a Perl module to convert between EUR and the old currencies.SYNOPSIS my $guildercalc = Math::Calc::Euro->new('NLG') print $guildercalc->to_euro(1), "n"; # 0.45378... print $guildercalc->from_national(1), "n"; # same print $guildercalc->to_national(1), "n"; # 2.20371 print $guildercalc->from_euro(1), "n"; # sameThe Math::Calc::Euro module provides for an object oriented interface for converting to/from EUR.new / cloneTakes one argument: the currency. Either one of these: LUF ATS BEF NLG FIM FRF DEM GRD IEP ITL PTE ESP or a number indicating how much the national currency is worth in euro's. When used as an object method, it defaults to the object's rate.to_euro / from_nationalReturns the value in euro's. Takes one argument: the amount of money.to_national / from_euroReturns the value in the old currency. Takes one argument: the amount of euro's. Requirements: · Perl


Math::Calc::Euro Related Software