Hi
I am working on a
VB project and need to know how to take a minus sign off a number (after a simple equation) if it does have one, to show in a msgbox.
Here is the equation!
num1 = dr.Item("location")
num2 = CInt(num1)
num3 = CInt(Area)
num1 = num3 - num2
and I have this in the msgbox
buildstring = buildstring & " which is " & num1 & " floors away from the current job position "
But like I said if num1 contains a minus then I want to get rid of it and just show the number!
Cheers anyone