This seems like a silly question, but given that I have these numeric values...
... why can't I use this in order to extract all rows withere Differanse is higher than 0?
When I try that, it just extracts all rows. I've also tried Differanse > 0, with the same lack of result.
Try >0.1.
You probably have some floating point errors going on, where the number is actually 0.000001 but displaying as 0.00.
There are other options if you can't use the above method as well.
Also if you use not equal to zero you'll get any negative numbers and missing as well as positive numbers
Hi,
i see that the values in the column are aligned to the left, as you know character values are aligned to the left and numeric values are aligned to the right. So i believe the values of column Differanse are character. Try to convert them into numeric and then try what you have mentioned in the post above.
or else you can use Differanse^="0,00". Hope this helps you.
Thanks,
Jagadish
Jagadish
Looking at the column header and the image (from DIS) it is a numeric field with a format applied (which is probably aligning to the left)
Barry
i agree with you Barry, did not observe that.
Thanks
Jagadish
Consider how this columns gets populated. Integers (including zero) should normally work properly with such conditions.
You may want to use the round() function to get control of your data.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.