@durgeshrpatil The code has been provided earlier in this thread.
how can I convert the negative numbers to positive only without changing positive numbers?
your help will be appreciated
Thanks
@lalohg You mean, take the absolute value? Use the ABS() function:
x = abs(x);
Yes!!! Thanks Chris
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.