GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Download
  • News
  • Community
  • Resources
  • Language Reference
  • SmallBASIC Manual

This view

  • Original page
  • New address

GeezerVison is showing smallbasic.github.io — SmallBASIC | DEG

Edit History

DEG

f = DEG (x)

Home > Reference > Math

Converts radians x to degrees.

Example

a = deg(pi)
print a

b = rad(a)
print b
Code samples using DEG
3d wire cube v1.bas   another look at trig functions.bas   bairstow.bas   checkers.bas   dmsareaplot.bas   drawpoly.bas   ellipse arc length estimate.bas   galgenmann.bas   humidity.bas   lander.bas   leastq.bas   lib-gputmcon.bas   mach no.bas   moonup.bas   mousef.bas   navigation.bas   pirate.bas   raycaster.bas   raycaster.bas   shooter.bas   space shooter.bas   spiral.bas   star worlds.bas   stars.bas   sunup.bas   swirl2.bas   temperature.bas   turns.bas   turtlegraphics1.bas  
Math
ABS   ABSMAX   ABSMIN   ACOS   ACOSH   ACOT   ACOTH   ACSC   ACSCH   ASEC   ASECH   ASIN   ASINH   ATAN   ATAN2   ATANH   ATN   CEIL   COS   COSH   COT   COTH   CSC   CSCH   DEG   DERIV   DETERM   DIFFEQN   EXP   EXPRSEQ   FIX   FLOOR   FRAC   INT   INTERSECT   INVERSE   LINEQN   LOG   LOG10   M3APPLY   M3IDENT   M3ROTATE   M3SCALE   M3TRANS   MAX   MIN   POLYAREA   POLYCENT   POLYEXT   POW   PTDISTLN   PTDISTSEG   PTSIGN   RAD   RND   ROOT   ROUND   SEC   SECH   SEGCOS   SEGLEN   SEGSIN   SEQ   SGN   SIN   SINH   SQR   STATMEAN   STATMEANDEV   STATMEDIAN   STATSPREADP   STATSPREADS   STATSTD   SUM   SUMSQ   TAN   TANH   TRANSPOSE  
This page was last edited on Thu, 19 Oct 2023 15:39:03 +0200 | Markdown processed with pandoc 3.1.12.1
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.