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 (/=)

x/=c
divides x by c and returns the new value of x.
  • x/=c is equivalent to x=x/c.
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