Create expression that converts a float to an integer.
Requires server version 5.6.0+.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.1.0 (4.2.1)
Syntax
Parameters
- num
- Type: Aerospike.Client Exp
Examples
// int(2.5) == 2 Exp.EQ( Exp.ToInt(Exp.Val(2.5)), Exp.Val(2));
See Also