PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > General Forums > General Discussion

General Discussion General use discussion forum for PhotoPost products.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 3rd, 2008, 01:37 PM   #1 (permalink)
Senior Member
 
Join Date: Mar 2003
Posts: 1,296
Talking count totals (SUM) but remove decimal place?

Hi...

Need a php expert, I'm counting the total of images but the result always shows a decimal point > 3.529

how can i make this a whole number without the point?
b6gm6n is offline   Reply With Quote
Old August 3rd, 2008, 01:42 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
why would it use a decimal unless you have modified the code? Our code should print

3,529 Photos

So have you modified the code? You may want to not use the number_format php function on your result to just have it a number with no formatting.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old August 3rd, 2008, 02:46 PM   #3 (permalink)
Senior Member
 
Join Date: Mar 2003
Posts: 1,296
Yeah, its another script... i searched high & low for the reason why the totals were being formatted in this way, then i found it in a template and saw how it was being done, i fixed it via editing the template, so cool.... and thanks
b6gm6n is offline   Reply With Quote
Old August 3rd, 2008, 06:26 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,806
Not a problem yeah figured it had to be some other coding.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
to remove the forum post count from reviews pepito69 ReviewPost How do I...? 1 June 17th, 2007 11:52 AM
Currency decimal hubix Classifieds How do I...? 3 November 17th, 2006 11:59 AM
Remove Post Count. Kirk Voclain Photopost Pro How Do I...? 1 June 29th, 2005 09:38 AM
How to add another decimal point to ratings ppostuser Photopost Pro How Do I...? 0 March 6th, 2005 04:46 PM
is there a SUM of all views in one (sub_)Cat? robert_2004 How Do I? - vBulletin 3.0.X 1 January 13th, 2005 01:45 PM


All times are GMT -5. The time now is 03:32 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0