Even if it's an int you should use the appropriate Smarty modifier.