← ln operator page · numeric/ln/sc/integer_operand
pandas ✅ · DuckDB ✅
ln of an integer: ln(SC_1) with SC_1 = 148.
Natural logarithm: "ln ( 148 ) gives 4.997...", and "The result has type number."
SC_r = 4.997212 (ln 148 = ln 100 + ln 1.48 = 4.605170 + 0.392042), a Number although the operand is an Integer.
SC_r := ln(SC_1);
| SC_1 |
|---|
| 148 |
{
"scalars": [
{"name": "SC_1", "type": "Integer"}
]
}
{
"scalars": [
{
"name": "SC_r",
"type": "Number",
"value": "4.997212"
}
]
}