This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Display negative BigDecimal value in parenthesis without - sign  RSS feed

 
Amit K Jain
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can someone please let me know how can I display -ve number in parenthesis without - sign?
e.g.
-12323.34 should be display as (12323.34)

Thanks
Amit
 
Krystian Gor
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1 Using Java

then in JSF

2. Using JSF

then in JSF
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!