Function Reference

Abs

Calculates the absolute value of a number.

Abs ( expression )

 

Parameters

expression Any valid numeric expression.

 

Return Value

Returns absolute value of expression.

 

Remarks

A string has a value of zero.

 

Related

None.

 

Example


$var = Abs(-123.45) ;value is 123.45