Share via


EdmFunctions.Floor(DbExpression) Method

Definition

Creates a DbFunctionExpression that invokes the canonical 'Floor' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value.

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Floor (this System.Data.Entity.Core.Common.CommandTrees.DbExpression value);
static member Floor : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Floor (value As DbExpression) As DbFunctionExpression

Parameters

value
DbExpression

An expression that specifies the numeric value.

Returns

A new DbFunctionExpression that returns the largest integer value not greater than value.

Applies to