Difference between revisions of "LlLog10"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
|func_footnote=To get the {{Wikipedia|Natural_logarithm|natural logarithm}} use {{LSLG|llLog}}. | |func_footnote=To get the {{Wikipedia|Natural_logarithm|natural logarithm}} use {{LSLG|llLog}}. | ||
|func_desc | |func_desc | ||
|return_text=that is the base 10 {{Wikipedia|logarithm}} of '''val'''.<br/>If '''val''' <= 0 return {{HoverText|zero|0.0}} instead. | |return_text=that is the base 10 {{Wikipedia|Logarithm|logarithm}} of '''val'''.<br/>If '''val''' <= 0 return {{HoverText|zero|0.0}} instead. | ||
|spec | |spec | ||
|caveats | |caveats | ||
Line 13: | Line 13: | ||
|also_events | |also_events | ||
|also_tests | |also_tests | ||
|also_articles | |also_articles=*{{Wikipedia|Logarithm}} | ||
|notes | |notes | ||
|permission | |permission |
Revision as of 19:08, 11 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: float llLog10( float val );264 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a float that is the base 10 logarithm of val.
If val <= 0 return zero instead.
• float | val |
To get the natural logarithm use llLog.