You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How To Control Precision Of A Value Via Groovy Scripting

Accepted answer
21
Views
1
Comments
in Sales 1 comment

Summary:

How to control the precision scale(number of the decimals) of a value calculated in a groovy script before it is assigned to a field.


Currently, Oracle's standard field goal weight is taking only round values and not taking the precision scale.


The user needs to enter the goal weight in decimals, such as 8.12 and Afterwards, this weight needs to be validated at 100%.



below is the groovy tag for #{row.bindings.Weighting.inputValue}

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!