Click or drag to resize

FunctionTrunc Method (IExpression)

Creates a function that will truncate the given expression (i.e remove all the digits after the decimal place) in question

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax
C#
public static IExpression Trunc(
	IExpression expression
)

Parameters

expression
Type: Couchbase.Lite.QueryIExpression
The numeric expression to take data from when calculating the result

Return Value

Type: IExpression
A function that will truncate the expressoin
See Also