BI Publisher (MOSC)

MOSC Banner

How to do a format number with a sum?

in BI Publisher (MOSC) 10 commentsAnswered

Hello BI publisher Experts,

We are currently on 12.2.9 and have an open SR on this issue.

Long story short, how can we format a field to a number

TOTAL_AMOUNT is a string, but needs to be a number. It was previously a number

NONRECOVERABLE_TAX is a number

We want to do a sum of nonrecoverable tax and add total_amount; however we cant do that unless total_amount is formatted as a number.

We tried this but it didnt work

<?xdofx:to_number(TOTAL_AMOUNT+ sum(NONRECOVERABLE_TAX))?>

We also tried setting it as a variable and tried adding but that did not work either

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