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.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.6.0 (4.2.6)
Syntax
Parameters
- num
- Type: Aerospike.Client Exp
Examples
// floor(2.95) == 2.0 Exp.EQ( Exp.Floor(Exp.Val(2.95)), Exp.Val(2.0));
See Also