2
4

1 回答 1

3

Locale is taken into acount so the output makes sense to the user.

As a silly American (who lives in the en_US locale) I have no idea what that funky symbol means.

EUR makes perfect sense to me.

A quick google suggests you can set the currencySymbol attribute to whatever you want:

<fmt:formatNumber value="${amount}" type="currency" currencySymbol="FOO" currencyCode="${currencyCode}" var="amt" />
于 2012-07-10T18:49:30.623 回答