Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change the sign of a number 2

Status
Not open for further replies.

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
 
Um...replace?
Code:
#Replace("-1","-","","All")#



Hope This Helps!

ECAR
ECAR Technologies, LLC

"My work is a game, a very serious game." - M.C. Escher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top