LibreOffice Module connectivity (master) 1
|
MOD(N,M) % Modulo (like the % operator in C). More...
#include <FNumericFunctions.hxx>
Protected Member Functions | |
virtual ORowSetValue | operate (const ORowSetValue &lhs, const ORowSetValue &rhs) const override |
virtual ORowSetValue | operate (const ORowSetValue &lhs, const ORowSetValue &rhs) const =0 |
Additional Inherited Members | |
Public Member Functions inherited from connectivity::file::OBinaryOperator | |
virtual void | Exec (OCodeStack &) override |
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 |
MOD(N,M) % Modulo (like the % operator in C).
Returns the remainder of N divided by M:
SELECT MOD(234, 10); -> 4 SELECT 253 % 7; -> 1 SELECT MOD(29,9); -> 2 SELECT 29 MOD 9; -> 2
Definition at line 71 of file FNumericFunctions.hxx.
|
overrideprotectedvirtual |
Implements connectivity::file::OBinaryOperator.
Definition at line 55 of file FNumericFunctions.cxx.
References connectivity::ORowSetValue::getDouble(), and connectivity::ORowSetValue::isNull().