Create expression that converts an integer to a float.
Requires server version 5.6.0+.
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.3.2.0 (5.3.2)
Syntax
C#
public static Exp ToFloat( Exp num )
Parameters
- num
- Type: Aerospike.ClientExp
Return Value
Type: ExpExamples
// float(2) == 2.0 Exp.EQ( Exp.ToFloat(Exp.Val(2))), Exp.Val(2.0));
See Also