LibreOffice Module connectivity (master) 1
|
ABS(X) Returns the absolute value of X: More...
#include <FNumericFunctions.hxx>
Protected Member Functions | |
virtual ORowSetValue | operate (const ORowSetValue &lhs) const override |
Additional Inherited Members | |
Public Member Functions inherited from connectivity::file::OUnaryOperator | |
virtual void | Exec (OCodeStack &) override |
virtual ORowSetValue | operate (const ORowSetValue &lhs) const =0 |
virtual void | Exec (OCodeStack &)=0 |
Public Member Functions inherited from connectivity::file::OCode | |
virtual | ~OCode () |
OCode (OCode &&)=default | |
OCode (const OCode &)=default | |
OCode ()=default | |
OCode & | operator= (const OCode &)=default |
OCode & | operator= (OCode &&)=default |
ABS(X) Returns the absolute value of X:
SELECT ABS(2); -> 2 SELECT ABS(-32); -> 32
Definition at line 35 of file FNumericFunctions.hxx.
|
overrideprotectedvirtual |
Implements connectivity::file::OUnaryOperator.
Definition at line 29 of file FNumericFunctions.cxx.
References connectivity::ORowSetValue::getDouble(), and connectivity::ORowSetValue::isNull().