Free cookie consent management tool by
TermsFeed
Update cookies preferences
Promotic
PRODUCTS
Products
What is PROMOTIC
PROMOTIC News
Documentation PROMOTIC
Freeware PROMOTIC
PROMOTIC school version
Applications development
Application references
DOCUMENTATION
PROMOTIC videos on Youtube
Documentation
E-SHOP
Price list
Licence order
Business conditions
Download
Download
PROMOTIC 9.0
PROMOTIC 8.3
PROMOTIC 8.2
PROMOTIC 8.1
PROMOTIC 8.0
PROMOTIC 7.5
Stable versions - Download
PmNetKey
Info materials
Services
Presentation for you
Trainings
For schools
Applications development
Application references
CONTACT
Technical support
Contacts
Distributors
System integrators
ABOUT US
MICROSYS - Company profile
News
Rewards and media
Partners
GDPR and Cookies
SOCIAL
Facebook
Youtube
LinkedIn
FORUM
Tan -
function
of language
VBScript
Description:
Returns the tangent of an angle.
In the PROMOTIC system it is better to use the
Pm.Tan
method.
Syntax:
Double
Tan
(
Double
number
)
Parameters:
number
(
Double
)
Angle in radians. The degrees can be transferred into radians by multiplying the input value by
0.017453293 (=2*Pi/360)
.
See also:
-
VBScript.Atn
(function)
-
VBScript.Cos
(function)
-
VBScript.Sin
(function)
-
VBScript
mathematic
functions
-
Pm properties and methods
mathematic
and others
Example:
VBScript
Select and copy to clipboard
Dim
nAngle
,
nCosecant
nAngle
=
1.3
nCosecant
=
1
/
Tan
(
nAngle
)
PROMOTIC 9.0.31
SCADA system documentation
MICROSYS, spol. s r.o.
Send page remark
Contact responsible person
Navigation:
-
PROMOTIC SCADA/HMI system
-
Documentation contents
-
Scripting Languages
-
VBScript
-
Functions VBScript
-
Abs
-
Array
-
Asc
-
Atn
-
CBool
-
CByte
-
CDate
-
CDbl
-
Chr
-
CInt
-
CLng
-
Cos
-
CreateObject
-
CSng
-
CStr
-
Date
-
DateAdd
-
DateDiff
-
DatePart
-
DateSerial
-
DateValue
-
Day
-
Eval
-
Exp
-
Filter
-
Fix
-
FormatDateTime
-
FormatNumber
-
FormatPercent
-
GetObject
-
Hex
-
Hour
-
InputBox
-
InStr
-
InstrRev
-
Int
-
IsArray
-
IsDate
-
IsEmpty
-
IsNull
-
IsNumeric
-
IsObject
-
Join
-
LBound
-
LCase
-
Left
-
Len
-
Log
-
LTrim
-
Mid
-
Minute
-
Month
-
MonthName
-
MsgBox
-
Now
-
Oct
-
Replace
-
RGB
-
Right
-
Rnd
-
Round
-
RTrim
-
Second
-
Sgn
-
Sin
-
Space
-
Split
-
Sqr
-
StrComp
-
String
-
StrReverse
-
Tan
-
Time
-
TimeSerial
-
TimeValue
-
Trim
-
TypeName
-
UBound
-
UCase
-
VarType
-
Weekday
-
WeekdayName
-
Year
© MICROSYS, spol. s r.o.