← addition operator page · numeric/addition/sc_sc/integer_plus_integer
pandas ✅ · DuckDB ✅
the sum of two integer scalars: SC_1 + SC_2 with SC_1 = 3 and SC_2 = 5.
Addition: "3 + 5 gives 8".
SC_r = 8, an Integer.
SC_r := SC_1 + SC_2;
| SC_1 | SC_2 |
|---|---|
| 3 | 5 |
{
"scalars": [
{"name": "SC_1", "type": "Integer"},
{"name": "SC_2", "type": "Integer"}
]
}
{
"scalars": [
{
"name": "SC_r",
"type": "Integer",
"value": "8"
}
]
}