multiply
Description
Multiplication of two numbers. The output will return the product of the two numbers.
Input / Parameter
Output
Example
In this example, we will multiply two values and print the result in the console.
Steps
Drag a
button
component into the canvas and open theAction
tab. Select thepress
event of the button and drag theLog.write
function to the event flow.Call the function
Math.multiply
inside theLog.write
function.Enter the values to be multiplied.
Result
The console will print
12
.
Last updated