إشعار
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تسجيل الدخول أو تغيير الدلائل.
يتطلب الوصول إلى هذه الصفحة تخويلاً. يمكنك محاولة تغيير الدلائل.
The INTADD function returns the sum of two integer values.
Syntax
INTADD(<numeric_expr_1>, <numeric_expr_2>)
Arguments
| Description | |
|---|---|
numeric_expr_1 |
The first numeric expression. |
numeric_expr_2 |
The second numeric expression. |
Return types
Returns a numeric expression.
Examples
This section contains examples of how to use this query language construct.
Add integer values
In this example, the INTADD function is used to add two numbers.
SELECT VALUE {
addNumber: INTADD(20, 10),
addZero: INTADD(20, 0),
addDecimal: INTADD(20, 0.10)
}
[
{
"addNumber": 30,
"addZero": 20
}
]