S
S
Sergey2017-07-12 13:07:49
JavaScript
Sergey, 2017-07-12 13:07:49

How to split a number into digits in twig?

There is a site on Symfony, in twig-templates I cannot insert the php code to solve the problem indicated in the title.
Hence the question: how can we get out of this situation using Symfony or JS?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BoShurik, 2017-07-12
@x__miller_x

https
: //twig.symfony.com/doc/2.x/filters/number_fo... ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question