Tangler Discussion Forums

Discuss

Topics

Click a Topicto start discussing

    Hi, I´m recently a pro member, and wanted to use your API to show total visits of all time, today´s visits, and people right now on my site. As my total number of visits is over one million, my number looks like 1022544, and i want it to look like 1.022.544. How can I do that? Thanks! 

    2009-05-13 21:32:23.0

    That would depend what language you're using for your website.

    Since PHP's so popular, here's how in that language, assuming you put that number in a variable called $count:

    <?php echo number_format($count, 0, '', '.'); ?>

    http://us2.php.net/number_format 

    2009-05-25 19:27:56.0
To send a message, Join Now (it's quick and free) or Sign In
Edit Topic
Delete Topic
Are you sure you want to delete the topic