(int)Math(Abs(<value>));
--
Bob Powell [MVP]
Visual C#, System.Drawing
Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm
All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
"bardo" <ba***@discussions.microsoft.com> wrote in message
news:8D**********************************@microsof t.com...
Does anyone know if there is a easy way to change a negitive int value
into a
positive int value.
int a = -105 > change this to 105.
With other words is there a command to change to neg sign into pos sign ?
Bardo Versteeg