71
edits
m (→Examples) |
m (→Examples) |
||
Line 23: | Line 23: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
; there's no function that returns simple logarithm, but you can | ;/ there's no function that returns a simple logarithm, but you can easily calculate it | ||
by multiplying this function's return value by 0.434294 (logarithm of Euler's number) /; | |||
float logNum = (Math.Log(5.89)) * 0.434294 ; logNum ≈ 0.770114 (keep in mind, the result is not | float logNum = (Math.Log(5.89)) * 0.434294 ; logNum ≈ 0.770114 (keep in mind, the result is not 100% accurate) | ||
</source> | </source> | ||
edits