Apr 28, 2005 #1 MikePalm Programmer Feb 6, 2002 34 US I have a number that is Negative. I want to change this to a positive number without changing the value of the number. Example -1 change to 1 -2 change to 2 etc. Mike
I have a number that is Negative. I want to change this to a positive number without changing the value of the number. Example -1 change to 1 -2 change to 2 etc. Mike
Apr 28, 2005 1 #2 ecobb Programmer Dec 5, 2002 2,190 US Um...replace? Code: #Replace("-1","-","","All")# Hope This Helps! ECAR ECAR Technologies, LLC http://www.ecartech.com "My work is a game, a very serious game." - M.C. Escher Upvote 0 Downvote
Um...replace? Code: #Replace("-1","-","","All")# Hope This Helps! ECAR ECAR Technologies, LLC http://www.ecartech.com "My work is a game, a very serious game." - M.C. Escher
Apr 28, 2005 1 #3 TruthInSatire Programmer Aug 12, 2002 2,964 US hehe I hate when you do something for so long you forget the simple things and over-evaluate i do it all the time. dont forget the simple things Code: abs(number] http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functioa.htm#wp1100121 Beware of programmers who carry screwdrivers. Upvote 0 Downvote
hehe I hate when you do something for so long you forget the simple things and over-evaluate i do it all the time. dont forget the simple things Code: abs(number] http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functioa.htm#wp1100121 Beware of programmers who carry screwdrivers.
Apr 28, 2005 #4 TruthInSatire Programmer Aug 12, 2002 2,964 US oops Code: abs(number) Beware of programmers who carry screwdrivers. Upvote 0 Downvote