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 | RAD

Edit History

RAD

f = RAD (x)

Home > Reference > Math

Converts x in degrees to radians.

Example:

a = deg(pi)
print a      ' Output: 180

b = rad(a)
print b      ' Output: 3.14..
Code samples using RAD
002 numeric variables.bas   3d rotating cube with message.bas   3d wire cube v1.bas   3d_palmx.bas   3d_torus.bas   3dtorus.bas   analog clock.bas   another look at trig functions.bas   autumn scene.bas   bolmo.bas   bomb.bas   chess.bas   circ.bas   circumscribe triangle.bas   clock.bas   clock.bas   colors1.bas   crop circles 2.bas   crop circles 3.bas   dmsareaplot.bas   dmsareareadmd.bas   dogstar5.bas   drawpoly.bas   ellipse arc length estimate.bas   eye of the storm.bas   fibanacci3.bas   galgenmann.bas   graphics sampler.bas   gray scale test.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 Tue, 4 Jul 2023 17:25:48 +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.