CRM On Demand - Administration (MOSC)

MOSC Banner

Calculating Percentage from Integer fields

edited Nov 11, 2013 3:21PM in CRM On Demand - Administration (MOSC) 5 commentsAnswered
Hello,

We are attempting to calculate a percentage from values housed in Integer fields.  The formula we have tried is ([<integer1>]/[<integer2>])*100.  The result we receive is always 0% when Integer 1 is less than Integer 2.  The result is always 100% when Integer 1 is equal to or greater than Integer 2.  We would have expected if Integer 1 = 50 and Integer 2 = 100 to get a result of 50%.  

Any ideas on why the results are the way they are?  Also, is there a conversion or something needed to make the calculation work correctly?

Thanks.

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