
Math::Calc::Euro - convert between EUR and the old currencies

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"; # same

The Math::Calc::Euro module provides for an object oriented interface for converting to/from EUR.
Takes 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.
Returns the value in euro's. Takes one argument: the amount of money.
Returns the value in the old currency. Takes one argument: the amount of euro's.

None yet

Juerd <juerd@juerd.nl>