ExpFloor Method

Create expression that rounds a floating point number down to the closest integer value. The return type is float. Requires server version 5.6.0+.

Definition

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

Parameters

num  Exp
 

Return Value

Exp

Example

C#
// floor(2.95) == 2.0
Exp.EQ(
  Exp.Floor(Exp.Val(2.95)),
  Exp.Val(2.0));

See Also