Mon-Fri 9am-4pm EST
Visualize community
tm
Home
|
Details
|
Support
|
Demo:
User
/
Admin
|
Customer Galleries
|
Contact Us
|
Forums
|
Blog
|
Members Area
|
Buy PhotoPost
PhotoPost Community
>
General Forums
>
General Discussion
count totals (SUM) but remove decimal place?
User Name
Remember Me?
Password
Register
FAQ
Social Groups
Calendar
Mark Forums Read
General Discussion
General use discussion forum for PhotoPost products.
LinkBack
Thread Tools
Rate Thread
Display Modes
August 3rd, 2008, 01:37 PM
#
1
(
permalink
)
b6gm6n
Senior Member
Join Date: Mar 2003
Posts: 1,296
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?
August 3rd, 2008, 01:42 PM
#
2
(
permalink
)
Chuck S
Photopost Developer
Verified Customer
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.
August 3rd, 2008, 02:46 PM
#
3
(
permalink
)
b6gm6n
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
August 3rd, 2008, 06:26 PM
#
4
(
permalink
)
Chuck S
Photopost Developer
Verified Customer
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.
«
How can I fix this url image ?
|
Number of top level categories to show on index page?
»
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Show Printable Version
Email this Page
Display Modes
Rate This Thread
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
Rate This Thread
:
5 : Excellent
4 : Good
3 : Average
2 : Bad
1 : Terrible
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
Forum Rules
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
.
Contact Us
-
PhotoPost
-
Archive
-
Privacy Statement
-
Top
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by
vBSEO
3.2.0
All Enthusiast Sites:
ResellerRatings: Discount Shopping / Store Ratings
Dealighted: Shopping Coupons, Bargains, Deals
TechIMO.com: Tech Support and Discussion
HOME
| Copyright 2001-2009
ALL ENTHUSIAST, INC.
ALL RIGHTS RESERVED.
LinkBack
LinkBack URL
About LinkBacks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94