Brightsign BrightScript 2 Reference Guide User Manual Page 41

  • Download
  • Add to my manuals
  • Print
  • Page
    / 59
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 40
41
Sgn(x As Float) As Integer
Sgn(x As Integer) As Integer
The "sign" function: returns -1 for X negative, 0 for X zero, and +l for X positive.
Sin(x As Float) As Float
Returns the sine of the argument (argument must be in radians). To obtain the sine of X
when X is in degrees, use SIN(X*.01745329).
Sqr(x As Float) As Float
Returns the square root of the argument. SQR(X) is the same as X^(1/2), only faster.
Tan(x As Float) As Float
Returns the tangent of the argument (argument must be in radians). To obtain the tangent
of X when X is in degrees, use TAN(X*.01745329).
Page view 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 58 59

Comments to this Manuals

No comments