Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    while (<DATA>) {
    ...
    -$ 500
    - $ 60
     + $ 30.
    
  2. or download this
    Acceptable: '-400' -> -400
    Acceptable: '+20,0' -> 200
    Acceptable: '-300.02' -> -300
    ...
    Acceptable: '-$ 500' -> -500
    Acceptable: '- $ 60' -> -60
    Not acceptable: ' + $ 30.' -> 30.