Skip to Content
0
Former Member
May 30, 2013 at 01:16 PM

How to compare a currency variable to 0

70 Views

Hi,

I've a variable of the type currency.

In my program I do a "clear myvariable" and I'd like to compare this variable which contains 0 in an if condition, for example:

data myvariable type kwert.

clear myvariable.

If myvariable <> 0. "it doesn' work

.......

Can anybody tell me how to campare with 0?

Thanks in advance.

Regards.