multiply container by number
Number yields an integer, a number, or a complex. Container yields a container containing an integer, a number, or a complex.
multiply Subtotal by Tax
multiply steve by bill
multiply line 3 of andy by 25
The multiply command multiplies the value of container by the value of number and leaves the result in container. The value in the container must be an integer, a number, or a complex and is replaced with the new value.
The following example adds 6 percent to each item in a list:
on taxMe
put "12.45,15.00,150.00,76.95,10.00,14.95,19.87" into taxables
repeat with count = 1 to the number of items in taxables
multiply item count of taxables by 1.06
end repeat
put taxables
end taxMe