Create operator that returns absolute value of a number.
All arguments must resolve to integer or float.
Requires server version 5.6.0+.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.3.2.0 (5.3.2)
Syntax
C#
public static Exp Abs( Exp value )
Parameters
- value
- Type: Aerospike.ClientExp
Return Value
Type: ExpExamples
// abs(a) == 1 Exp.EQ( Exp.Abs(Exp.IntBin("a")), Exp.Val(1));
See Also