Path to this page:
./
finance/p5-Data-Currency,
Container class for currency conversion/formatting
Branch: CURRENT,
Version: 0.06000nb11,
Package name: p5-Data-Currency-0.06000nb11,
Maintainer: pkgsrc-usersThe Data::Currency module provides basic currency formatting and
conversion:
my $price = 1.23;
my $currency = Data::Currency->new($price);
print $currency->convert('CAD')->as_string;
Each Data::Currency object will stringify to the original value
except in string context, where it stringifies to the format
specified in format.
Required to run:[
lang/perl5] [
devel/p5-Class-Inspector] [
finance/p5-Finance-Currency-Convert-WebserviceX] [
finance/p5-Locale-Currency-Format] [
devel/p5-Class-Accessor-Grouped]
Required to build:[
pkgtools/cwrappers]
Master sites: (Expand)
Filesize: 16.829 KB
Version history: (Expand)
- (2023-07-06) Updated to version: p5-Data-Currency-0.06000nb11
- (2022-06-28) Updated to version: p5-Data-Currency-0.06000nb10
- (2021-05-25) Updated to version: p5-Data-Currency-0.06000nb9
- (2020-09-01) Updated to version: p5-Data-Currency-0.06000nb8
- (2019-08-11) Updated to version: p5-Data-Currency-0.06000nb7
- (2018-08-22) Updated to version: p5-Data-Currency-0.06000nb6
CVS history: (Expand)