Mathematical operations and functions in expressions

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

 

Arithmetical operations:         + - * / ^ \ mod

 

Logical operations: not, and, or, xor

 

Linking of strings: &

 

Mathematical functions:

                         

Abs

Math.Abs()

Atn        

Math.Atan()

Cos

Math.Cos()

Exp

Math.Exp()

Log        

Math.Log()

Round

Math.Round()

Sgn

Math.Sign()

Sin

Math.Sin()

Sqr        

Math.Sqrt()

Tan        

Math.Tan()

 


Pi        

Math.pi

e

Math.e

 

Other functions:

 

Actual date: Date.Now

 

String operations:

 

Len

Microsoft.VisualBasic.Len(string)

Mid

Microsoft.VisualBasic.Mid(string, start[, length])

Left

Microsoft.VisualBasic.Left(string, length)

Right

Microsoft.VisualBasic.Right(string, length)

Trim

Microsoft.VisualBasic.Trim(string)

LCase

Microsoft.VisualBasic.Lcase(string)

UCase

Microsoft.VisualBasic.Ucase(string)

                                 

 

See other function: web site Visual Basic .NET functions.

 

Example:

 

String operation:

 

string_3.StringValue="TestString"

 

clip0428

 

untitledExpression_0=Microsoft.VisualBasic.Mid(string_3.StringValue,2)

 

clip0429

 

Result: