LN() returns the natural logarithm (base e) of a number. The natural logarithm is the inverse of the exponential function EXP(). If the input is invalid (e.g., negative numbers or zero), the function returns zero. This function is useful for mathematical calculations, statistical analysis, and scientific computations.
LN(numeric)
LN() returns a numeric value
LN(1) = 0 (natural log of 1 is 0)
LN(10) = 2.3026 (natural log of 10)
LN(EXP(1)) = 1 (natural log of e is 1)
LN(EXP(10)) = 10 (natural log of e^10 is 10)
LN(2.71828) ≈ 1 (natural log of e is approximately 1)
LN(0) = 0 (invalid input)
LN(-1) = 0 (invalid input)
LN(NULL) = NULL (NULL input)