JSP money formatting
<p>I'm trying to format money for Swiss locale, and my company needs it formated like this:</p>
<blockquote>
<p>9'949.50</p>
<p>-191'565.10</p>
</blockquote>
<p>But when I apply following code in JSP:</p>
<pre><code>&lt;%@ taglib prefix=&quot;fmt&quot; uri=&quot;http://java.sun.com/jsp/jstl/fmt&quot;%&gt;
&lt;fmt:setLocale value=&quot;de_CH&quot; scope=&quot;session&quot;/&gt;
&lt;fmt:formatNumber value=&quot;${value}&quot; type=&quot;currency&quot; /&gt;
</code></pre>
<p>I get ok money formatting but it adds currency code, which we don't want. So this is result:</p>
<blockquote>
<p>SFr. 9'949.50</p>
<p>SFr. -191'565.10</p>
</blockquote>
<p>Is there a way to turn off currency code display? I tried in various ways but all I get is exceptions.</p>
<p>Edit: as pointed in comments, this is JSP related question.</p>