Abs()

MathF::Abs(T) method

Returns the absolute value of the specified value.

template<class T> static T System::MathF::Abs(T value)

Template parameters

ParameterDescription
TThe type of the value accepted by the method as an argument

Arguments

ParameterTypeDescription
valueTA value of arithmetic type

Return Value

The absolute value of value

See Also