Design Tools & Output Technologies - JDE1 (MOSC)

MOSC Banner

How do I left pad a Math Number data item

edited May 5, 2015 10:02AM in Design Tools & Output Technologies - JDE1 (MOSC) 7 commentsAnswered

I know this has got to be something simple I'm missing, but I cannot figure it out and nothing I have tried to research has helped me.

I have a table converstion that I am working on and one of the data item is Salary but it needs to be left padded with no decimals (10 characters long).

So I have gotten the input and multiplied it by 100 to remove the decimals. Then I convert that Math_Numeric item into a string and left pad the string. I then convert that string (with leading 0) back into a Math Number variable but the leading 0 does not convert. How can I get a Math Numeric variable with the leading 0's?

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