WLJS LogoWLJS Notebook

DivideBy

x /= c divides x by c and returns the new value of x.

Examples

Divide and assign:

x = 100;
x /= 5
(* 20 *)

Successive division:

y = 1000;
y /= 10;
y /= 2
(* 50 *)

Please visit the official Wolfram Language Reference for more details.

On this page