java - How do I use patterns with convertNumber? -


i trying use f:convertnumber tag. want use multiple patterns. see can date tag , color tag. there way convertnumber tag without creating custom tag.

my problem want able accept $ signs or no $ sign input.

thanks in advance.

for dollar sign (if number currencty), can try:

<f:convertnumber currencysymbol="$" type="currency" /> 

and pattern can:

<f:convertnumber pattern=".." /> 

Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -