Re: [Sikuli-driver] [Question #282135]: Typing fraction Value

2016-02-11 Thread Launchpad Janitor
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

Re: [Sikuli-driver] [Question #282135]: Typing fraction Value

2016-01-26 Thread Ravi
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(".")

Re: [Sikuli-driver] [Question #282135]: Typing fraction Value

2016-01-24 Thread Ravi
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

Re: [Sikuli-driver] [Question #282135]: Typing fraction Value

2016-01-24 Thread RaiMan
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

Re: [Sikuli-driver] [Question #282135]: Typing fraction Value

2016-01-22 Thread RaiMan
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.

Re: [Sikuli-driver] [Question #282135]: Typing fraction Value

2016-01-22 Thread Ravi
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

Re: [Sikuli-driver] [Question #282135]: Typing fraction Value

2016-01-22 Thread RaiMan
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

[Sikuli-driver] [Question #282135]: Typing fraction Value

2016-01-21 Thread Ravi
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