FunctionRound Method (Object, Int32) |
Creates a function that will round the given expression to the number of digits indicated
in question
Namespace:
Couchbase.Lite.Query
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0295
Syntax public static IFunction Round(
Object expression,
int digits
)
Parameters
- expression
- Type: SystemObject
The numeric expression to take data from when calculating
the result - digits
- Type: SystemInt32
The number of digits to round to
Return Value
Type:
IFunctionA function that will round the expression (using midpoint rounding)
See Also