How i can do Math operation in template?

And what is the error? What is “value” exactly?

Have you tried:

{{ (value / 1000) | float }}