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+.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public static Exp Floor( Exp num )
Parameters
- num
- Type: Aerospike.ClientExp
Return Value
Type: ExpExamples
// floor(2.95) == 2.0 Exp.EQ( Exp.Floor(Exp.Val(2.95)), Exp.Val(2.0));
See Also