> List of Operators and Functions
Introduction
Administration
User Interface
SolidWorks Fundamentals
Moving from 2D to 3D
Assemblies
CircuitWorks
Configurations
Design Checker
Design Studies in SolidWorks
Drawings and Detailing
DFMXpress
DriveWorksXpress
FloXpress
Import and Export
Large Scale Design
Model Display
Mold Design
Motion Studies
Parts and Features
Routing
Sheet Metal
Simulation
SimulationXpress
Sketching
Sustainability Products
SolidWorks Utilities
Tolerancing
Toolbox
Weldments
Workgroup PDM
Troubleshooting
Glossary
Hide Table of Contents Show 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.

 



Related SolidWorks Forum Content

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

The search functionality within the web help is in a beta test phase and you may experience periodic delays or interruptions in its performance. These are the normal and ordinary features of a beta test and shall not under any circumstances give rise to any liability on the part of DS SolidWorks or its licensors. The topics within the Web-based help are not beta topics; they document 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.