jQuery function to animate number increment

If you want to do something fancy with numbers on your site using jQuery, here is a snippet on how you can animate your number.