Fabs()
Fabs() returns the absolute value of the floating value passed. Syntax: single = Fabs( Expression ) Example:
dim a as single a = -123.456 a = Fabs(a) ' result: 123.456 a = 123.456 a = Fabs(a) ' result: 123.456
en:fabs
Fabs() returns the absolute value of the floating value passed. Syntax: single = Fabs( Expression ) Example:
dim a as single a = -123.456 a = Fabs(a) ' result: 123.456 a = 123.456 a = Fabs(a) ' result: 123.456