This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Programming / Assignments /

TimesBy

FilledSmallSquare x *= c multiplies x by c and returns the new value of x.

FilledSmallSquare TimesBy has the attribute HoldFirst.

FilledSmallSquare x *= c is equivalent to x = x*c.

FilledSmallSquare See Section 2.5.4.

FilledSmallSquare See also: DivideBy, AddTo, Set.

FilledSmallSquare New in Version 1.

Further Examples