I know this one is really easy, but I can't seem to find it.
I have a negative number assigned to a variable and I need to take that
number and assign it to a second variable except I need the postive value of
that number to be assigned to the second variable.
variable1 = -10
variable2 = Positive(variable1)
I'm sure there is some sort of format expression similar to the above that I
can use. Any help is greatly appreciated.
> I know this one is really easy, but I can't seem to find it.
>
[quoted text clipped - 8 lines]
> I'm sure there is some sort of format expression similar to the above
> that I can use. Any help is greatly appreciated.
variable2 = Abs(variable1)

Signature
Working without a .NET?
http://classicvb.org/
Frankbelly - 04 Jan 2007 00:38 GMT
Perfect! Thanks so much.
> > I know this one is really easy, but I can't seem to find it.
> >
[quoted text clipped - 10 lines]
>
> variable2 = Abs(variable1)