Question

How can i format the currency without currency symbols. When i use

<f:convertNumber currencyCode="TRY" type="currency"/>

it shows the output like

TRY7,057.71

If I don't use

currencyCode="TRY"

then it shows $ symbol. I just want to format numbers like 7,057.71

Était-ce utile?

La solution

Just format it as a number will do?

<f:convertNumber type="number" pattern="#,###.##" />
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top