How to Convert a string to number in freemarker template - Stack Overflow

PHOTO EMBED

Mon May 30 2022 11:28:46 GMT+0000 (Coordinated Universal Time)

Saved by @mdfaizi

<#assign num = numString?number>

<#if num > 100>
</#if>
content_copyCOPY

https://stackoverflow.com/questions/10927965/how-to-convert-a-string-to-number-in-freemarker-template