Question #282135 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/282135
Status: Answered => Open
Ravi is still having a problem:
yeah , Am new to python scripting.
I have tried with different options and found the below :
size = len(value)
dot_position = value.find(".")
my_string = str(float(value) + float("0." + "1".zfill(size - dot - 1)))
But it works not at all times.
If I use type(str(float(value) + float("0." + "1".zfill(size - dot - 1)))), it
is working fine.
If I use my_string it is again using 1e-07 format.
I couldn't catch my wrong here.
--
You received this question notification because your team Sikuli Drivers
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