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