Help for this page

Select Code to Download


  1. or download this
    Original perl code:
    
    ...
      return scalar reverse $N;
    }
    print Commify('Testing 1234 testing... -123456789.01234567800 testing 
    +test 4,500,000.00000');
    
  2. or download this
    #!/bin/bash
    # This function inserts commas into numbers
    ...
    }
    Commify 'Testing 1234 testing... -123456789.01234567800 testing test 4
    +,500,000.00000'
    echo $STR