Comma/Decimal point

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Comma/Decimal point

Post by TheMathematics »

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

Comma/Decimal point

Post by Stoker »

Sounds like the latest version is doing.
Which version are you using?

Post by TheMathematics »

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

Post by TheMathematics »

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

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)

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.

Comma/Decimal point

Post by RMcGirr83 »

Try instead

Code: Select all

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

Post by TheMathematics »

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

Post by TheMathematics »

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

Comma/Decimal point

Post by Stoker »

Try: number_format($forum_goals_posts_percent, 2),
Thats what Im using.