Help for this page

Select Code to Download


  1. or download this
    How can I output my numbers with commas added?
    This subroutine will add commas to your number:
    
    ...
           \G\d{3}           # after the last group, get three digits
           (?=\d)            # but they have to have more digits after the
    +m.
       )/$1,/xg;