Create expression that converts an integer to a 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
// float(2) == 2.0 Exp.EQ( Exp.ToFloat(Exp.Val(2))), Exp.Val(2.0));
See Also