22#include <drizzled/function/func.h>
23#include <drizzled/function/math/int_val.h>
28class Item_func_floor :
public Item_func_int_val
31 Item_func_floor() :Item_func_int_val() {}
32 const char *func_name()
const {
return "floor"; }
type::Decimal * decimal_op(type::Decimal *)
Performs the operation that this functions implements when the result type is DECIMAL.
int64_t int_op()
Performs the operation that this functions implements when the result type is INT.
double real_op()
Performs the operation that this functions implements when the result type is REAL.
bool check_argument_count(int n)
TODO: Rename this file - func.h is stupid.