Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Libraries

    Finance::Currency::ParValueSeparate 1.03

    Download button

    No screenshots available
    Downloads: 334  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Chun Sheng | More programs
    Perl Artistic License / FREE
    August 4th, 2007, 16:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Finance::Currency::ParValueSeparate description

    A module can give least number of every parvalue within a certain amount.

    Finance::Currency::ParValueSeparate module can give least number of every parvalue within a certain amount.

    SYNOPSIS

    # create new object to resolve RMB 317 needs which least number of parvalue
    use Finance::Currency::ParValueSeparate;
    my $pvs = new Finance::Currency::ParValueSeparate( RMB => 317 );
    $pvs->parse;

    # list all parvalue which we need and how many we need
    map { print "parvalue $$_: ", $pvs->number_of_dollar($_), "n" } $pvs->dollar_parvalues;
    more flexible usage see the method part below.


    When we offer salaies to employees with cash, we should prepare some different parvalue of money. For example, we pay $327 to a guy, we should prepare three $100 parvalue and one $20 parvalue and one $5 parvalue and two $2 parvalue. Of course it's easy for a man to decide how many and which parvalue we need to pay, and in my later project, the customer often parepare salaies for a group of employees, so many person's salaies we should compute then let perl take it over, and further more, the customer only want know totally how many every parvalue he should prepare to pay the group. Here this module comes.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    parvalue number | finance currency | Perl module | Finance | parvalue | finance



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM