sin: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
 
back to [[Scripting_Reference#S|COMREF]]
back to [[Scripting_Reference#U|COMREF]]


<h2 style="color:#000066">'''sin '''''x''</h2>
<h2 style="color:#000066">'''sin '''''x''</h2>
Line 6: Line 5:
'''Operand types:'''
'''Operand types:'''


x: [[Number]]
'''x:''' [[Number]]


'''Type of returned value:'''
'''Type of returned value:'''
Line 14: Line 13:
'''Description:'''
'''Description:'''


Sine of x, argument in degrees.
Sine of '''x''', argument in degrees.
 


'''Example:'''
'''Example:'''


sine = '''sin''' 30
_sine = '''sin''' 30 ...... Result is 0.5
 
Result is 0.5

Revision as of 12:28, 17 April 2006

back to COMREF

sin x

Operand types:

x: Number

Type of returned value:

Number

Description:

Sine of x, argument in degrees.


Example:

_sine = sin 30 ...... Result is 0.5