
The Function Block LN calculates the logarithm of a number.
A value with a number is expected at the input. The value tries to convert a string into a number. The boolean value TRUE is converted into a 1.
Note: Also see the article String Conversion to Numbers, if you are working with strings.
The output returns the logarithm of the input as a number.