Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Core Language > Defining Variables and Functions > Assignments > DivideBy (/=) >

DivideBy


divides x by c and returns the new value of x.
  • is equivalent to .
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Divide by a numerical value:
Divide by a symbolic value:
Divide all values in a list by a scalar:
Divide all values in a list by another list:
DivideBy is a short form of this assignment:
TimesBy is closely related:
A variable to be divided must have an initial value:
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF