← round operator page · numeric/round/sc_placeholder/placeholder_for_digits
pandas ✅ · DuckDB ✅
the placeholder _ for numDigit, on a scalar: round(SC_1, _) with SC_1 = 12345.6.
Rounding: "round ( 12345.6, _ ) gives 12346".
SC_r = 12346, an Integer: the placeholder stands for an omitted numDigit.
SC_r := round(SC_1, _);
| SC_1 |
|---|
| 12345.6 |
{
"scalars": [
{"name": "SC_1", "type": "Number"}
]
}
{
"scalars": [
{
"name": "SC_r",
"type": "Integer",
"value": "12346"
}
]
}