File r37/lisp/csl/html/r37_0075.html artifact 385d384380 part of check-in d9e362f11e



<A NAME=DEG2DMS>

<TITLE>DEG2DMS</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>



<B>DEG2DMS</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>operator</B><P>
<P>
 
 <P>
<P>
 <P> <H3> 
syntax: </H3>
<em>deg2dms</em>(&lt;expression&gt;) 
<P>
<P>
<P>
In 
<A HREF=r37_0330.html>rounded</A> mode, if &lt;expression&gt; is a real number, 
the 
operator <em>deg2dms</em> will interpret it as degrees, and convert it to a 
list containing the equivalent degrees, minutes and seconds. In all other 
cases, an expression in terms of the original operator is returned. 
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>
deg2dms 60; 

  DEG2DMS(60) 


on rounded; 

ws; 

  {60,0,0} 


deg2dms 42.4; 

  {42,23,60.0} 


deg2dms a; 

  DEG2DMS(A)

</TT></PRE><P>

REDUCE Historical
REDUCE Sourceforge Project | Historical SVN Repository | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]