Wednesday, June 6, 2012

Remove currency symbol and text

I want to remove symbols and text from formatted String when using NumberFormat.getCurrencyFormat().format() with internationalization.

Examples after remove:

Currency  - Formated  = Without 

US:        US$100.15  = 100.15
BRL:     100,15R$    = 100,15
Euro:    100,15€     =  100,15

Thanks.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/EskrnaGRjTMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment