some docs for arithmetic functions
This commit is contained in:
parent
3fe787972a
commit
42d6a4a333
@ -55,5 +55,19 @@ foreach($users as $user) {
|
|||||||
|
|
||||||
|
|
||||||
+++ Arithmetic functions
|
+++ Arithmetic functions
|
||||||
|
|
||||||
|
Availible DQL arithmetic functions:
|
||||||
|
|
||||||
|
<code>
|
||||||
|
ABS(simple_arithmetic_expression)
|
||||||
|
SQRT(simple_arithmetic_expression)
|
||||||
|
MOD(simple_arithmetic_expression, simple_arithmetic_expression)
|
||||||
|
</code>
|
||||||
|
|
||||||
|
* The //ABS// function returns the absolute value for given number.
|
||||||
|
|
||||||
|
* The //SQRT// function returns the square root for given number.
|
||||||
|
|
||||||
|
* The //MOD// function returns the modulus of first argument using the second argument.
|
||||||
|
|
||||||
+++ Datetime functions
|
+++ Datetime functions
|
||||||
+++ Collection functions
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user