Difference between revisions of "LlLog10"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
|func_id=264|func_sleep=0.0|func_energy=10.0 | |func_id=264|func_sleep=0.0|func_energy=10.0 | ||
|func=llLog10|return_type=float|p1_type=float|p1_name=val | |func=llLog10|return_type=float|p1_type=float|p1_name=val | ||
|func_footnote=To get the {{Wikipedia|Natural_logarithm|natural logarithm}} use {{LSLG| | |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}} of '''val'''.<br/>If '''val''' <= 0 return {{HoverText|zero|0.0}} instead. | ||
Line 10: | Line 10: | ||
|examples | |examples | ||
|helpers | |helpers | ||
|also_functions=*{{LSLG| | |also_functions=*{{LSLG|llLog}} | ||
|also_events | |also_events | ||
|also_tests | |also_tests |
Revision as of 19:07, 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.