Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

jython script help

1008730Aug 22 2017 — edited Aug 23 2017

A very simple script to divide all the imported amounts by 3.

Here is the error I got: SyntaxError: ("mismatched input '' expecting DEDENT", ('<string>', 7, 3, '   return SAmt\n'))

Here is the script. Can I get some help please? Thank you!

def AmountDivide3(field, record):

Sfield = field.strip()
SAmt = Sfield / 3

   return SAmt

This post has been answered by Robert Gideon on Aug 23 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 20 2017
Added on Aug 22 2017
4 comments
1,036 views