Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
        $value =~ s/(\d{3})(?=\d)/$1,/g;
        return scalar reverse $value;
    }
    
  2. or download this
    Current Account Balance: $100,000,000.00
    Current Account Balance: $100.00
    Current Account Balance: $1,000.00