Click to See Complete Forum and Search --> : Absolute


Lynn
November 10th, 1999, 04:56 AM
Hi, anyone knows how to make a variable positive?
For instance, I need variable Time_Diff to be positive even if the calculation turn out to be otherwise:

Time_Diff = DateDiff("n", Date1, Date2)

Thx

Rupert Bates
November 10th, 1999, 05:04 AM
Use the Abs(number) function