[RSS Feed/News] Removing comma from output of $data.value on Notable Members page

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I have an addon which adds a bar chart to the notable members page, and it works perfectly fine up until a user has 1000+ posts. It stops working then because the output of $data.value in this instance is "1,000" instead of "1000".

I've tried using some filters/functions to remove it but I'm not having much luck.

floor($data.value) = 1
$data.value|number = 1
$data.value|number(1) = 1.0

Is it possible at all to manipulate the output in this way through the...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom