L3DT users' wiki
Large 3D terrain generator

RadToDeg

Description

Convert an angle in radians to degrees.

Function prototype

double RadToDeg <double:value>

Arguments

Name Type Comment
value double The angle in radians to be converted to degrees.

Return value

A double-precision angle, measured in degrees.

Example

echo <zs:RadToDeg 3.14159>

… the output of which is written to the event log by echo as:

180

Comments

None.

See also

 
plugins/general/zeoscript/reference/functions/radtodeg.txt · Last modified: 2017/08/31 04:54 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki