Format Millions to read 24.5M instead of all the zeros

I’m trying to develop a live social stat counter and want the data to show up as 24.5M instead of listing out all of the zeros. Any cool tricks to accomplish this?


Here is my site Read-Only: LINK
(how to share your site Read-Only link)