Hide Table of Contents

List of Operators and Functions

The following table lists the functions and operators that you can use in parameter expressions.

Symbol

Description

Example

+

Add

3+4=7

-

Subtract

9-4=5

*

Multiply by

3*6=18

/

Divide by

9/2=4.5

^

raise to power of

4^5=1024

\

Integer divide by

9\2=4

SQR

square root

SQR(64)=8

()

prioritizes evaluation of an expression

5*(1+2)=15

!

Factorial

5!=120

Fact(5)=5x4x3x2x1=120

%

Percentage

25%=0.25

MIN

Minimum value

MIN(1,2,4,5,7)=1

MAX

Maximum value

MAX(3,8)=8

SIN

Sine

SIN(pi)=0

COS

Cosine

COS(pi)=-1

TAN

Tangent

TAN(pi)=0

ASIN

Arc Sine

ASIN(1)=1.570796

ACOS

Arc Cosine

ACOS(-1)=3.141593

ATAN

Arc Tangent

ATAN(0)=0

SEC

Secant

SEC(0)=1

CSC

Cosecant

CSC(1)=1.188395

COT

Cotangent

COT(1)=0.642093

ABS

Absolute value

ABS(-8)=8

EXP

e to the power of

EXP(3)=20.0855

EXP2

2 to the power of

EXP2(3)=8

EXP10

10 to the power of

EXP10(3)=1000

LOG

Natural logarithm

LOG(16)=2.77259

LOG2

Log base 2

LOG2(8)=3

LOG10

Log base 10

LOG10(1000)=3

 

NOTES:

  • The trigonometric examples in the above table assume that "pi" has been defined as a parameter.

  • Functions and operators are not case sensitive.

 



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   List of Operators and Functions
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS 2011 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.