Create expression that converts a float to an integer.
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 ToInt( Exp num )
Parameters
- num
- Type: Aerospike.ClientExp
Return Value
Type: ExpExamples
// int(2.5) == 2 Exp.EQ( Exp.ToInt(Exp.Val(2.5)), Exp.Val(2));
See Also