title: How to Convert a Number into a String in Freemarker
body: <p>I want to assign the current year then the next year. However, once I convert the current year to a number I'm not sure how to convert it back to a string. Any help is appreciated.</p>
  
  <pre><code>&lt;#assign currentYear=.now?string('yyyy')&gt;${currentYear} or &lt;#assign 
  nextYear=currentYear?number + 1&gt;${nextYear}
  </code></pre>
  
  <p>Returns</p>
  
  <pre><code>2017 or 2,018
  </code></pre>
  
  <p>Thanks in advance!</p>