ExpDiv Method

Create "divide" (/) operator that applies to a variable number of expressions. If there is only one argument, returns the reciprocal for that argument. Otherwise, return the first argument divided by the product of the rest. All arguments must resolve to the same type (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 Div(
	params Exp[] exps
)

Parameters

exps  Exp
 

Return Value

Exp

Example

C#
// a / b / c > 1
Exp.GT(
  Exp.Div(Exp.IntBin("a"), Exp.IntBin("b"), Exp.IntBin("c")),
  Exp.Val(1));

See Also