ExpToInt Method
Create expression that converts a float to an integer.
Requires server version 5.6.0+.
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
public static Exp ToInt(
Exp num
)
- num Exp
-
Exp // int(2.5) == 2
Exp.EQ(
Exp.ToInt(Exp.Val(2.5)),
Exp.Val(2));