log: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|LOG]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|LOG]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|LOG]]
[[Category:Scripting Commands ArmA|LOG]]


| ofp |= Game name


<h2 style="color:#000066"> '''log ''x'''''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| Base-10 logarithm of x. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''log''' |= Syntax


'''x:''' [[Number]]
|p1= x: [[Number]] |= Parameter 1


'''Type of returned value:'''
| [[Number]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>_log = log 10 ..........Result is 1</pre> |= Example 1
____________________________________________________________________________________________


[[Number]]
|  |= See also


'''Description:'''
}}


Base-10 logarithm of '''x'''.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
</dl>


'''Example:'''
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|LOG]]
_log = '''log''' 10 ..........Result is 1
[[Category:Scripting Commands OFP 1.96|LOG]]
[[Category:Scripting Commands OFP 1.46|LOG]]
[[Category:Scripting Commands ArmA|LOG]]

Revision as of 02:00, 2 August 2006

Hover & click on the images for description

Description

Description:
Base-10 logarithm of x.
Groups:
Uncategorised

Syntax

Syntax:
log
Parameters:
x: Number
Return Value:
Number

Examples

Example 1:
_log = log 10 ..........Result is 1

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section