Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

missing )

Former Member
0 Kudos

hi,

i get the error,

incomple arithmetic expression. missing ")" at end of statement.

my expression is

L_BKED = L_BKED + ( ( WA_XVBAP-KWMENG ) * ( 0.05 ) ).

all operands and operators are properly spaced out !!

whats wrong ??

thks

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Put single quotes around 0.05.

L_BKED = L_BKED + ( ( WA_XVBAP-KWMENG ) * ( '0.05' ) ).

Regards,

Rich Heilman

4 REPLIES 4

bpawanchand
Active Contributor
0 Kudos

>

> L_BKED = L_BKED + ( ( WA_XVBAP-KWMENG ) * ( 0.05 ) ).

>

w_var1 = WA_XVBAP-KWMENG * 0.05 .

L_BKED = L_BKED + w_var2.

Regards

Pavan

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Put single quotes around 0.05.

L_BKED = L_BKED + ( ( WA_XVBAP-KWMENG ) * ( '0.05' ) ).

Regards,

Rich Heilman

Former Member
0 Kudos

First, you dont need all these paranthesis.

Second the constant should always be in quotes '0.05'. Change this and you wont get the error.

Former Member
0 Kudos

Hi,

you need to put parentheses whenever you are using decimals in your calculation method.

Please reward if you find the answer useful.

Thanks,

Kamesh