문제

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

도움이 되었습니까?

해결책

Just format it as a number will do?

<f:convertNumber type="number" pattern="#,###.##" />
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top