ExpCeil Method

Create expression that rounds a floating point number up to the closest integer value. The return type is float. Requires server version 5.6.0+.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Exp Ceil(
	Exp num
)

Parameters

num  Exp
 

Return Value

Exp

Example

C#
// ceil(2.15) >= 3.0
Exp.GE(
  Exp.Ceil(Exp.Val(2.15)),
  Exp.Val(3.0));

See Also