Question #266654 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/266654
Status: Open => Answered
RaiMan proposed the following answer:
ok, either some math to do ;-)
or count the number of numbers behind the decimal .
what ever is more suitable.
l = len(selection)
dot = selection.find(".") # should not be -1 !!!
paste(str(float(x) + float("0." + "1".zfill(len - dot - 2)))
the principal, but not tested ;-)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp