rad: 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#R|COMREF]]
<h2 style="color:#000066">'''rad ''x'''''</h2>
<h2 style="color:#000066">'''rad ''x'''''</h2>


'''Operand types:'''
'''Operand types:'''


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


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


Convert x from degrees to radians.
Convert '''x''' from degrees to radians.
 


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


_radians = '''rad''' 180
_radians = '''rad''' 180 ...... Result is 3.1415
 
Result is 3.1415

Revision as of 00:23, 16 April 2006

back to COMREF

rad x


Operand types:

x: Number

Type of returned value:

Number

Description:

Convert x from degrees to radians.


Example:

_radians = rad 180 ...... Result is 3.1415