MindFusion.Reporting for Silverlight Programmer's Guide
Abs

Returns the absolute value of the specified number.

Syntax

 Copy Code

double Abs (
    double value
)

Parameters

value
Any valid numeric expression.

Return Value

The absolute value of the specified number. If the specified value is not a number, 0 is returned.

Remarks

The absolute value of a number is its unsigned magnitude. For example, Abs(-1) and Abs(1) both return 1.

See Also

Math Functions
Sgn Function