Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to display negative values within parenthesis using <display:column > ?  RSS feed

 
antsi klando
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to get the negative values displayed within parenthesis using <display:column format="$ {0,number,###,###,###,###.00}">.
If for example,the values are positive,the value should be $ 12.32,else $ (12.32).
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!