Filewatcher File Search File Search
Catalog
Content Search
» » » » »

Data-Money-0.05.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:Perl-CPAN
Filename:Data-Money-0.05.tar.gz

/Data-Money-0.05/README

NAME
    Data::Money - Money/currency with formatting and overloading.

SYNOPSIS
        use Data::Money;

        my $price = Data::Money->new(value => 1.2. code => 'USD');
        print $price;            # $1.20
        print $price->code;      # USD
        print $price->format;    # FMT_COMMON
        print $price->as_string; # $1.20

        # Overloading, returns new instance
        my $m2
more»

/Data-Money-0.05/Changes

Revision history for Data::Money

0.05
    - Changed croak() to Throwable exceptions
    - Abandon rounding for enforced precision

0.04
    - Added coercion from undef
    - Fixed coercion from an empty string

0.03
    - Added overloads for all basic arithmetic operations to disallow mismatched currency
    - Add an overloaded three-way comparator and allow coercion from itself
    - Add absolut
more»

Browse inside Data-Money-0.05.tar.gz

         [DIR]Data-Money-0.05/ (8)

Download Data-Money-0.05.tar.gz

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com