title: Groovy gsp grails number format replace
body: <p>I have a German customer, he wants some numbers on his page to be </p>
  
  <blockquote>
    <p><code>4,3</code></p>
  </blockquote>
  
  <p>instead of </p>
  
  <blockquote>
    <p>4.3</p>
  </blockquote>
  
  <p>as I cant set the Number format globally for the project or controller because i have javascript depending on the english format, I'm looking for a simple replace method in gsp something like</p>
  
  <pre><code>${number.replace(/./,",")}
  </code></pre>
  
  <p>but that causes </p>
  
  <blockquote>
    <p>No signature of method: java.lang.Double.replace() is applicable for
    argument types: (java.lang.String, java.lang.String)</p>
  </blockquote>
  
  <p>any idea ? thanks in advance</p>