Difference between revisions of "Log"
From Dragon Age Toolset Wiki
(Generated by Sunjammer's Dragon Age Script Paser) |
BryanDerksen (Talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | :''This article describes the logarithm scripting function. For information on log files, see [[ECLog.ini]]'' | |
+ | |||
{{dafunction | {{dafunction | ||
|name=log | |name=log |
Latest revision as of 18:16, 17 February 2010
- This article describes the logarithm scripting function. For information on log files, see ECLog.ini
Returns the log of a float.
- Parameters:
- fValue
- The floating point number to calculate the natural log of
- Returns:
- Returns the natural log of fValue, 0 on error.
- Source:
- script.ldf
Description
Returns the natural logarithm of the float fValue.
Remarks
The log function only exists for values > 0.0f, a value of 0.0f or less will return 0.0f.