Exp Function

āļ´āˇŠâ€āļģāļšāˇ˜āļ­āˇ’ āļŊāļāˇ” āļ´āˇāļ¯āļē (e = 2.718282) āļļāļŊāļēāļšāļ§ āļąāļ‚āˇ€āˇ āļ†āļ´āˇƒāˇ” āļŊāļļāˇāļ¯āˇ™āļē⎒.

āļšāˇāļģāļš āļģ⎓āļ­āˇ’āļē:

Exp (Number)

āļ†āļ´āˇƒāˇ” āļŊāļļāˇāļ¯āˇ™āļą āļ…āļœāļē:

Double

āļ´āļģāˇāļ¸āˇ’āļ­āˇ“āļąāˇŠ:

Number: Any numeric expression that specifies the power that you want to raise "e" to (the base of natural logarithms). The power must be for both single-precision numbers less than or equal to 88.02969 and double-precision numbers less than or equal to 709.782712893, since LibreOffice Basic returns an Overflow error for numbers exceeding these values.

Error codes:

5 Invalid procedure call

āļ‹āļ¯āˇāˇ„āļģāļĢāļē:

Sub ExampleLogExp

Dim dValue As Double

    Const b1=12.345e12

Const b2=1.345e34

    dValue=Exp( Log(b1)+Log(b2) )

    MsgBox "" & dValue & chr(13) & (b1*b2) ,0,"Multiplication by logarithm"

End Sub