Hi,
I am trying to user filter in order to display a value with always one decimal so this is the code that I used :
{{ value | number:β1.1-1β}}
The result is something like 1.2, 1.6, 1
But it is not what I expected, I would like 1.2, 1.6, 1.0
I have also tried -> {{ value | number:1}}, and I got the following error: inline template:24:24 caused by: digits.match is not a function
-> {{ value | number:'1'}} but it is also not working
Is there any remedy for this issue?
Thank you four your time.
Regards,
GaΓ«tan