Application Development and Automation 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: 
Read only

Type conversion

Former Member
0 Likes
323

Hi,

I Have declared one variable of type komv-kwert in my program. That variable contains the value 0.00 at run time. I am doing some calculations in my program if that variable is not initial. But my case what is happening even though that variable contains the value 0.00 system is considering that value as not initial. Even I declared character variable also then also same problem. Please tell me where I did mistake.

Thanks a lot.

2 REPLIES 2
Read only

former_member386202
Active Contributor
0 Likes
306

Hi,

try like this

if var GT 0

statement

endif.

Regards,

Prashant

Read only

Former Member
0 Likes
306

HI

since it is considering the "0.00" as value.

u keep condition as

if field <> 0.

endif.

it works fine in u r case.

regards,

raghu