Difference between revisions of "Log - Math"

No change in size ,  16:36, 13 July 2023
m
Line 24: Line 24:
<source lang="papyrus">
<source lang="papyrus">
; there's no function that returns simple logarithm, but you can get it yourself
; there's no function that returns simple logarithm, but you can get it yourself
; 0.434294 = lofarithm of Euler's number (2.71828)
; 0.434294 = logarithm of Euler's number (2.71828)


float logNum = (Math.Log(5.89)) * 0.434294 ; logNum ≈ 0.770114 (keep in mind, the result is not completely accurate)
float logNum = (Math.Log(5.89)) * 0.434294 ; logNum ≈ 0.770114 (keep in mind, the result is not completely accurate)
67

edits