<< pyDiff Scithon pyEquals >>

Scithon >> Scithon > pyDiv

pyDiv

Divides two variables.

Syntax

pyDiv(arg0, arg1)

Arguments

arg0

Variable 1 acts as dividend

arg1

Variable 2 acts as divisor

Description

Divides the two arguments and returns the result; equivalent to arg1 / arg2. Arguments can be of type int, double, string, bool or python variable.

Example

startPy
py("a = 5")
var = pyGet("a")
pyDiv(var,3)
quitPy

Report an issue
<< pyDiff Scithon pyEquals >>