BI Publisher (MOSC)

MOSC Banner

How to format number based on conditions.

edited Sep 3, 2015 1:11PM in BI Publisher (MOSC) 5 commentsAnswered ✓

How to format number based on conditions. I used below statement

<?xdoxslt:ifelse(AmtListPricePerUnit_ID247>0 and CurrencyCodeFrom_ID251!='USD',<? format-number:AmtListPricePerUnit_ID247;'##,##0.00'?>,<? format-number:AmtListPricePerUnit_ID247;'$#,##0.00'?>)?>

but if currency code='USD' output shows as  ,$3.35)?>. Appreciate your help.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center