Display Negative numbers in Braces "( )"



One of our forum user Vency asked for formatting the number to be displayed with in Bracket, if it is -Ve number
Forum Question

Might M14 gave a quick resolution, of adding the condition PI to display the brackets on both sides, by concatenating '(' and ')' on both sides respectively.

< xdofx:if Sales > 0 then Sales else ‘(‘||Sales||’)’ end if>

Looks good,
But this hard-work is not needed,

there is a simple solution i guess, its old one, but still will be handy for Newbie's.

Comments

Popular posts from this blog

BIP Formatting

Repeat Table Header in all pages in BIP

Limit rows per page