Question #282135 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/282135
Status: Open => Expired
Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.
--
You received this question
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(".")
Question #282135 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/282135
Status: Answered => Open
Ravi is still having a problem:
Well.. I try to do that, I did not get any built-in function to convert float
to string..
Again Its converting to exponent format(1e-05) like
Question #282135 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/282135
Status: Open => Answered
RaiMan proposed the following answer:
Ok, then you seem not to be familiar with Python scripting yet.
So you either have to learn how to setup user functions and how to do
some
Question #282135 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/282135
Status: Open => Answered
RaiMan proposed the following answer:
type("%.7f"%value)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
Question #282135 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/282135
Status: Answered => Open
Ravi is still having a problem:
Thanks RaiMan
It worked.
Actually, I am using this type(value) in Handler Section.
This handler section is called in many places. And each time
Question #282135 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/282135
Status: Open => Answered
RaiMan proposed the following answer:
ok, then you have to create a function, that gets a value (int or
float), analyst it, dynamically build the format string and then return
New question #282135 on Sikuli:
https://answers.launchpad.net/sikuli/+question/282135
I want to type the float value 0.001 in textbox.
If i use the following code :
value = 0.001
type(str(value))
I am getting the output as 1e-07
I want value to be typed as 0.001
Same result by
8 matches
Mail list logo