Comma/Decimal point

Download and support for PhpBB3 Forum Goal MOD
TheMathematics

Comma/Decimal point

Post by TheMathematics »

================
Last edited by TheMathematics on 09 Aug 2015, 10:24, edited 1 time in total.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Comma/Decimal point

Post by Stoker »

Sounds like the latest version is doing.
Which version are you using?
Board rules! No PM support
TheMathematics

Post by TheMathematics »

================
Last edited by TheMathematics on 09 Aug 2015, 10:24, edited 1 time in total.
TheMathematics

Post by TheMathematics »

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

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

Post by TheMathematics »

================
Attachments
ForumGoalsFehlendeKommastellen.png
ForumGoalsFehlendeKommastellen.png (3.04 KiB) Viewed 3242 times
Last edited by TheMathematics on 09 Aug 2015, 10:24, edited 1 time in total.
User avatar
RMcGirr83
BBCoder III
BBCoder III
Posts: 104
Joined: 08 Mar 2010, 13:17
Favourite MOD: mChat
Contact:

Comma/Decimal point

Post by RMcGirr83 »

Try instead

Code: Select all

number_format($forum_goals_posts_percent, 2, '.', '');
TheMathematics

Post by TheMathematics »

================
Last edited by TheMathematics on 09 Aug 2015, 10:24, edited 1 time in total.
TheMathematics

Post by TheMathematics »

================
Last edited by TheMathematics on 09 Aug 2015, 10:23, edited 1 time in total.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Comma/Decimal point

Post by Stoker »

Try: number_format($forum_goals_posts_percent, 2),
Thats what Im using.
Board rules! No PM support
Locked