Trying to assign but without success:
{assign "var_name" {is_numeric($var->test) ? $var->test : ''}}
In php it would be like
$var_name = is_numeric($var->test) ? $var->test : '';
test) ? $var->test : ''}} In php it would be like $var_name = is_numeric($v" /> test) ? $var->test : ''}} In php it would be like $var_name = is_numeric($v" /> test) ? $var->test : ''}} In php it would be like $var_name = is_numeric($v"/>
It should be like this: