Comma/Decimal point

Download and support for PhpBB3 Forum Goal MOD
TheMathematics [Offline]

Comma/Decimal point

Post by TheMathematics »

================
Last edited by TheMathematics on 09 Aug 2015, 08:24, edited 1 time in total.
User avatar
Stoker [Offline]
Site Admin
Site Admin
Posts: 3,867
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Has thanked: 2 times
Been thanked: 1 time

Comma/Decimal point

Post by Stoker »

Sounds like the latest version is doing.
Which version are you using?
~ The greatest achievement in life is to inspire ~
Regards Stoker
TheMathematics [Offline]

Post by TheMathematics »

================
Last edited by TheMathematics on 09 Aug 2015, 08:24, edited 1 time in total.
TheMathematics [Offline]

Post by TheMathematics »

================
Last edited by TheMathematics on 09 Aug 2015, 08:24, edited 1 time in total.
User avatar
RMcGirr83 [Offline]
BBCoder III
BBCoder III
Posts: 104
Joined: 08 Mar 2010, 11:17
Favourite MOD: mChat

Comma/Decimal point

Post by RMcGirr83 »

within the includes functions file you want to change all that are like this

Code: Select all

round($forum_goals_posts_percent)
to like this

Code: Select all

round($forum_goals_posts_percent, 2)
TheMathematics [Offline]

Post by TheMathematics »

================
You do not have the required permissions to view the files attached to this post.
Last edited by TheMathematics on 09 Aug 2015, 08:24, edited 1 time in total.
User avatar
RMcGirr83 [Offline]
BBCoder III
BBCoder III
Posts: 104
Joined: 08 Mar 2010, 11:17
Favourite MOD: mChat

Comma/Decimal point

Post by RMcGirr83 »

Try instead

Code: Select all

number_format($forum_goals_posts_percent, 2, '.', '');
TheMathematics [Offline]

Post by TheMathematics »

================
Last edited by TheMathematics on 09 Aug 2015, 08:24, edited 1 time in total.
TheMathematics [Offline]

Post by TheMathematics »

================
Last edited by TheMathematics on 09 Aug 2015, 08:23, edited 1 time in total.
User avatar
Stoker [Offline]
Site Admin
Site Admin
Posts: 3,867
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Has thanked: 2 times
Been thanked: 1 time

Comma/Decimal point

Post by Stoker »

Try: number_format($forum_goals_posts_percent, 2),
Thats what Im using.
~ The greatest achievement in life is to inspire ~
Regards Stoker