apathy
Well-known member
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 templates, or would it require PHP?
Thanks in advance
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 templates, or would it require PHP?
Thanks in advance