[[*example:custom-output-filter]]
This question has been answered by legues. See the first response.
<?php
$a = new \NumberFormatter("it-IT", \NumberFormatter::CURRENCY);
echo $a->format(12345.12345) . "<br>"; // outputs €12.345,12
?>
[[*tvname:test]]

Hi
First of all many thanks for the replies!!! Really usefull!! I´m not a coder, so my question is how can i get a custom filter based in these php code?
<!--?php $a = new \NumberFormatter("it-IT", \NumberFormatter::CURRENCY); echo $a--->format(12345.12345) . " "; // outputs €12.345,12 ?>
I tried to put this code into a snippet called test and then i´ve applied this to a TV by doingbut it´s not working... Gave me an internal server error!!! Why?[[*tvname:test]]
Many thanks in advance!!
