ExpAbs Method

Create operator that returns absolute value of a number. All arguments must resolve to integer or float. Requires server version 5.6.0+.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Exp Abs(
	Exp value
)

Parameters

value  Exp
 

Return Value

Exp

Example

C#
// abs(a) == 1
Exp.EQ(
  Exp.Abs(Exp.IntBin("a")),
  Exp.Val(1));

See Also