X = abs( x );
Abs is the absolute value function.
From: SAS(r) Discussion [mailto:SAS-***@LISTSERV.UGA.EDU] On Behalf Of Abc Unha
Sent: Thursday, October 29, 2009 2:31 PM
Subject: Convert Negative numbers to Positive numbers
Is there any function to convert negative to positive numbers?
Or Is there anything to make all numbers positive for that variable,
Regardless number is positive or negative.
CONFIDENTIALITY NOTICE: This electronic message contains
information which may be legally confidential and or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect. The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized. If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful. If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it. Thank you.