← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #688770]: Division not working in Sikuli with Python

 

Question #688770 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688770

    Status: Open => Answered

RaiMan proposed the following answer:
not sure, what you are doing:

print int("5")/int("9")
print 5/9
x = "5"
y = "9"
z = int(x)/int(y)
print "zs", z
x = 5
y = 9
z = x/y
print "zi", z

prints

0
0
zs 0
zi 0

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.