rene.beck Posted January 30 Share Posted January 30 Hi I must format a decimal with thousand and decimal seperator. Right now I do this like that new java.text.DecimalFormat("#,##0.###").format($F{BEST_PHY}) + " " + $F{EINHEIT_ME}; the decimal 104100.34 is then displayed as 104,100.34 but I need it this way 104'100.34 How can I do this? Regards René Link to comment Share on other sites More sharing options...
Solution rene.beck Posted January 30 Author Solution Share Posted January 30 i found a solution, i do it like this way new java.text.DecimalFormat("#,##0.###").format($F{BEST_PHY}).replace(",", "'") + " " + $F{EINHEIT_ME}; 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now