How To Control Precision Of A Value Via Groovy Scripting
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):
Tagged:
0