IMathTNumericAbs Method
Returns the absolute value of a number.
Namespace: Jodosoft.NumericsAssembly: Jodosoft.Numerics (in Jodosoft.Numerics.dll) Version: 2.0
TNumeric Abs(
TNumeric value
)
Function Abs (
value As TNumeric
) As TNumeric
TNumeric Abs(
TNumeric value
)
abstract Abs :
value : 'TNumeric -> 'TNumeric
- value TNumeric
-
A number that is greater than or equal to MinValueTNumeric,
but less than or equal to MaxValueTNumeric.
TNumericA number, x, such that 0 ≤ x ≤
MaxValueTNumeric.
This method may return
NaN or Infinity.
If
NaN or Infinity cannot be represented by
TNumeric,
then this method may throw an
ArithmeticException.