HI all,
how can i pass an int to a template? VOLT converts it to a string and numeric comparisons fails without a type casting. Is there any workaround?
Thanks
You can define user function in Volt for any conversion of your data. https://docs.phalcon.io/en/latest/reference/volt.html#id3
Thanks for your answer! Is this the expected behaviour? Why?
Volt - extensible compiler. It has any standard functions, and you can extend it with any function.